[Solved] How to fix default messy disk permissions?

Whenever I set up a new linux install, be it Fedora or Arch, I'm facing the same mess with the default mounting configuration. This time is no different. I gave up on it with one of my previous installs (Arch) but this time I'd like to tackle the problem and learn WHY this happens. I'd appreciate any help.
$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 S_50 81013467-61c5-4fca-a8b1-6471ab2ff66e /run/media/hg1/S_50
├─sda2 ext4 S_140 ada1868a-eb43-40ac-87ba-8a99bb9800f6 /run/media/hg1/S_140
├─sda3 ext4 S_740 9ca4788c-b6ab-4f2e-aa10-b8167ae76d4c /run/media/hg1/S_740
└─sda4 ntfs S_10ntfs 457FAFD72A8942B7 /run/media/hg1/S_10ntfs
sdb
├─sdb1 ntfs 208A713C8A711010
├─sdb2 ntfs ss_win 0A80775A80774AE9
├─sdb3
├─sdb5 ext4 ss_boot ac72a869-6615-418c-8ded-0d332031cad5 /boot
├─sdb6 ext4 ss_var 916eb67e-b963-4781-b434-6ec3281bd1b1 /var
├─sdb7 ext4 ss_root 61c35767-58d5-44cd-9be0-de43e88c4b25 /
└─sdb8 ext4 ss_home 35390a6a-8220-4a90-9065-227bdfcb2946 /home
sdc
└─sdc1 ntfs 500_ntfs 7062D4863AD9B32D
sdd udf Parted Magic 2014_11_19 2014-11-19-06-59-19-00 /run/media/hg1/Parted Magic 2014_11_19
sr0
$ ls -l /mnt
total 8
drwxr-xr-x 2 root root 4096 Mar 25 20:45 sdb5
drwxr-xr-x 2 root root 4096 Mar 25 20:25 sdd
$ ls -l /run/media/hg1
total 18
dr-x------ 6 hg1 hg1 312 Nov 19 13:59 Parted Magic 2014_11_19
drwxrwxrwx 1 hg1 hg1 4096 Apr 18 20:58 S_10ntfs
drw-rw-rw- 3 hg1 hg1 4096 Apr 17 21:08 S_140
drw-rw-rw- 2 hg1 root 4096 Apr 17 21:08 S_50
drwxr-xr-x 14 hg1 root 4096 Apr 18 20:58 S_740
$ cat /etc/fstab
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdc7
UUID=61c35767-58d5-44cd-9be0-de43e88c4b25 / ext4 rw,relatime,data=ordered 0 1
# /dev/sdc5
UUID=ac72a869-6615-418c-8ded-0d332031cad5 /boot ext4 rw,relatime,data=ordered 0 2
# /dev/sdc6
UUID=916eb67e-b963-4781-b434-6ec3281bd1b1 /var ext4 rw,relatime,data=ordered 0 2
# /dev/sdc8
UUID=35390a6a-8220-4a90-9065-227bdfcb2946 /home ext4 rw,relatime,data=ordered 0 2
$ mount | column -t | grep /dev/sd
/dev/sdb7 on / type ext4 (rw,relatime,data=ordered)
/dev/sdb6 on /var type ext4 (rw,relatime,data=ordered)
/dev/sdb5 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sdb8 on /home type ext4 (rw,relatime,data=ordered)
/dev/sdd on /run/media/hg1/PartedM type udf (ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8,uhelper=udisks2)
/dev/sda3 on /run/media/hg1/S_740 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 on /run/media/hg1/S_50 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda2 on /run/media/hg1/S_140 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda4 on /run/media/hg1/S_10ntfs type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
0. Could anyone tell me why the order of assigned letter codes is so weird? Does it even matter? External drive is sda and my main drive (SSD) is sdb. I always connect my drives to match drive importance vs motherboard disk channel number.
1. I'd like to start with the sda which is an external USB 3.0 HDD (Seagate BK+):
a) why by default I have read/write access to sda3 but not to sda1 and sda2?
b) how do I get read/write permissions to all partitions on sda persistently?
Last edited by bbarcher (2015-05-02 13:10:22)

bbarcher wrote:OK, so no fstab alteration required per se for now.
Right.
These two bits bring me to the question I wanted to ask since like 2 years ago: What's the difference between a mountpoint and a path?
A mountpoint is always a path, but not vice versa. A partition has to be accessible somehow and that is the unix way with a unified hierarchy. Windows differs insofar as by default every file system has a seperated one, starting with the drive letter - although in recent versions file systems can be mounted in directories as well.
A consequence of a path being a mountpoint, as you have already discovered, shows in that not every operation crosses file system boundaries - be it for technical reasons or to counter human stupidity.
For example, if you issue
chmod 777 /home/hg1
(or is it chmod -R ?)
the operation applies to every file, directory and sub-directory in /home/hg1
if you want it recursively, it has to be chmod -R. Otherwise chmod affects only the file/directory it is called on.
but it's different with mountpoints. Issuing
chmod 777 /mount
won't apply to to every file, directory and sub-directory in /mount including e.g. /mount/sda1/..., /mount/sda2/... etc.
Similarly issuing
rm -rf /home/hg1
won't remove everything down the line if there's for example sdb1 mounted to /home/hg1/mumbo/sdb1.
And that is probably for the best.
One more additional question:
computer 1, all files on an external disk with permissions restricted to computer 1 user by the name of theone
computer 2, has a user by the name theone as well
Q: Will theone from computer 2 be able to access the files on the external disk?
That depends. User and group IDs are stored numerically. If theone has the same ID on both systems, then yes.
Note: I use Parted Magic often. Everything I write there gets restricted to 'root'. I have no problem taking over such resources using chown on my regular linux installation. So what's the point?
Do you mean, since you can issue chmod/chown using e.g. sudo, it shouldn't be created with uid/gid root?
In that case, how else should it be? Since it's your machine, you had better be able to somehow become root. And, even if not, which user should be the owner, if not root? root is always a safe bet since every system has that user. Also, if it is a true multi-user-system it'd be a bad idea if you'd start a partition with any other permissions.

Similar Messages

  • How to Fix Encore "No Disk Error"?

    When trying to start Encore CS5.0 I get an "Encore.exe - No Disk" error box.  The box says "There is no disk in the drive.  Please insert a disk into drive\Device\Harddisk8\DR8".  There are 3 buttons: "cancel", "try again", and "continue", none of these get rid of the error box and I can't open Encore.
    I've reinstalled Encore, no effect.
    I disabled a device in location 8 and the error box message changed to "There is no disk in the drive.  Please insert a disk into drive\Device\Harddisk4\DR4."  I re-enabled the device and the error box reverted to the original "...\DR8." 
    Appreciate any help on how to fix this.  Thanks.
    --Dave

    Encore "No Drive" Error http://forums.adobe.com/thread/569230 may help
    Also... Things and Software to AVOID when authoring/burning a DVD
    Start --> http://forums.adobe.com/thread/608660
    #2 has WHY Explained http://forums.adobe.com/thread/607390
    Plus http://forums.adobe.com/thread/562941
    Create an ISO (Encore) or folder on your hard drive (Encore or Premiere Elements) and then use the FREE http://www.imgburn.com/index.php?act=download to write files or folders or ISO to disc for DVD or BluRay (send the author a PayPal donation if you like his program)
    Imgburn will read the ACTUAL disc brand from the disc, which is not always the same as the box label (Memorex is notorious for buying "anything" and putting it inside a Memorex box)
    When you write to disc with Imgburn, use the SLOWEST possible speed setting, so your burner has the best chance to create "good, well formed" laser burn holes... since no DVD player is required to read a burned disc, having a "good" one from a high quality blank will help

  • How do I restore my disk permissions?

    I'm running 10.6.7 on a 2.8GHz i5 iMac.  Was having issues so I ran disk repair followed by repair disk permissions in Disk utility (something I know now that I should not have done).  Now I'm locked out of my external drives (padlocks on the desktop icons).  Tried to switch permissions back to "read and write" in the "get info" window of the external drive but it keeps reverting back to "custom".  Tried running some terminal commands that was supposed to restore my permissions but got "drive not found."   Now what?

    Yes you can erase the drive and reinstall OS 10.6 from the original disk.
    1. Put the disk in and restart the computer while holding the C key down. (The letter C.)
    2. When the computer boots you will see the beginning of the OS installation, and have to select a language.
    3. On the next screen there is a menu bar. Click Utilities on the menu bar and select Disk Utility.
    4. When DU is running, select the hard drive in the left hand column, format should be Mac OS extended journaled, then click Erase.
    5. When that task is done, quit DU and proceed with the installation. It will take some time.
    6. The computer will restart after the installation is completed and show you an awful noisy welcoming screen.
    Then you have to enter information about yourself.
    7. Run Software update to get to OS 10.6.8.
    Now you can go to the App store and find your previous purchases. You will not have to pay for them again. And you do not have install them one at a time. If for example you want 10.9, and your computer can handle it, go directly to 10.9.1 from 10.6.8.

  • Solved - How to take ownership and change permissions for blocked files and folders in Powershell

    Hello,
    I was trying to take ownership & fix permissions on Home Folder/My Documents structures, I ran into the common problem in PowerShell where Set-Acl & Get-Acl return access denied errors. The error occurs because the Administrators have been removed from
    file permissions and do not have ownership of the files,folders/directories. (Assuming all other permissions like SeTakeOwnershipPrivilege have been enabled.
    I was not able to find any information about someone successfully using native PS to resolve the issue.  As I was able to solve the issues surrounding Get-Acl & Set-Acl, I wanted to share the result for those still looking for an answer.
    Question: How do you use only Powershell take ownership and reset permissions for files or folders you do not have permissions or ownership of?
    Problem: 
    Using the default function calls to the object fail for a folder that the administrative account does not have permissions or file ownership. You get the following error for Get-Acl:
    PS C:\> Get-Acl -path F:\testpath\locked
    Get-Acl : Attempted to perform an unauthorized operation.
    + get-acl <<<< -path F:\testpath\locked
    + CategoryInfo : NotSpecified: (:) [Get-Acl], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetAclCommand
    If you create a new ACL and attempt to apply it using Set-Acl, you get:
    PS C:\> Set-Acl -path F:\testpath\locked -AclObject $DirAcl
    Set-Acl : Attempted to perform an unauthorized operation.
    At line:1 char:8
    + Set-Acl <<<< -path "F:\testpath\locked" -AclObject $DirAcl
    + CategoryInfo : PermissionDenied: (F:\testpath\locked:String) [Set-Acl], UnauthorizedAccessException
    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetAclCommand
    Use of other functions like .GetAccessControl will result in a similar error: "Attempted to perform an unauthorized operation."
    How do you replace owner on all subcontainers and objects in Powershell with resorting to external applications like takeown, icacls, Windows Explorer GUI, etc.?
    Tony

    Hello,
    Last, here is the script I used to reset permissions on the "My Documents" tree structure that admins did not have access to:
    Example:  Powershell script to parse a directory of User-owned "My Document" redirection folders and reset permissions.
    #Script to Reset MyDocuments Folder permissions
    $domainName = ([ADSI]'').name
    Import-Module "PSCX" -ErrorAction Stop
    Set-Privilege (new-object Pscx.Interop.TokenPrivilege "SeRestorePrivilege", $true) #Necessary to set Owner Permissions
    Set-Privilege (new-object Pscx.Interop.TokenPrivilege "SeBackupPrivilege", $true) #Necessary to bypass Traverse Checking
    #Set-Privilege (new-object Pscx.Interop.TokenPrivilege "SeSecurityPrivilege", $true) #Optional if you want to manage auditing (SACL) on the objects
    Set-Privilege (new-object Pscx.Interop.TokenPrivilege "SeTakeOwnershipPrivilege", $true) #Necessary to override FilePermissions & take Ownership
    $Directorypath = "F:\Userpath" #locked user folders exist under here
    $LockedDirs = Get-ChildItem $Directorypath -force #get all of the locked directories.
    Foreach ($Locked in $LockedDirs) {
    Write-Host "Resetting Permissions for "$Locked.Fullname
    #######Take Ownership of the root directory
    $blankdirAcl = New-Object System.Security.AccessControl.DirectorySecurity
    $blankdirAcl.SetOwner([System.Security.Principal.NTAccount]'BUILTIN\Administrators')
    $Locked.SetAccessControl($blankdirAcl)
    ###################### Setup & apply correct folder permissions to the root user folder
    #Using recommendation from Ned Pyle's Ask Directory Services blog:
    #Automatic creation of user folders for home, roaming profile and redirected folders.
    $inherit = [system.security.accesscontrol.InheritanceFlags]"ContainerInherit, ObjectInherit"
    $propagation = [system.security.accesscontrol.PropagationFlags]"None"
    $fullrights = [System.Security.AccessControl.FileSystemRights]"FullControl"
    $allowrights = [System.Security.AccessControl.AccessControlType]"Allow"
    $DirACL = New-Object System.Security.AccessControl.DirectorySecurity
    #Administrators: Full Control
    $DirACL.AddAccessRule((new-object System.Security.AccessControl.FileSystemAccessRule("BUILTIN\Administrators",$fullrights, $inherit, $propagation, "Allow")))
    #System: Full Control
    $DirACL.AddAccessRule((new-object System.Security.AccessControl.FileSystemAccessRule("NT AUTHORITY\SYSTEM",$fullrights, $inherit, $propagation, "Allow")))
    #Creator Owner: Full Control
    $DirACL.AddAccessRule((new-object System.Security.AccessControl.FileSystemAccessRule("CREATOR OWNER",$fullrights, $inherit, $propagation, "Allow")))
    #Useraccount: Full Control (ideally I would error check the existance of the user account in AD)
    #$DirACL.AddAccessRule((new-object System.Security.AccessControl.FileSystemAccessRule("$domainName\$Locked.name",$fullrights, $inherit, $propagation, "Allow")))
    $DirACL.AddAccessRule((new-object System.Security.AccessControl.FileSystemAccessRule("$domainName\$Locked",$fullrights, $inherit, $propagation, "Allow")))
    #Remove Inheritance from the root user folder
    $DirACL.SetAccessRuleProtection($True, $False) #SetAccessRuleProtection(block inheritance?, copy parent ACLs?)
    #Set permissions on User Directory
    Set-Acl -aclObject $DirACL -path $Locked.Fullname
    Write-Host "commencer" -NoNewLine
    ##############Restore admin access & then restore file/folder inheritance on all subitems
    #create a template ACL with inheritance re-enabled; this will be stamped on each subitem to re-establish the file structure with inherited ACLs only.
    #$NewOwner = New-Object System.Security.Principal.NTAccount("$domainName","$Locked.name") #ideally I would error check this.
    $NewOwner = New-Object System.Security.Principal.NTAccount("$domainName","$Locked") #ideally I would error check this.
    $subFileACL = New-Object System.Security.AccessControl.FileSecurity
    $subDirACL = New-Object System.Security.AccessControl.DirectorySecurity
    $subFileACL.SetOwner($NewOwner)
    $subDirACL.SetOwner($NewOwner)
    ######## Enable inheritance ($False) and not copy of parent ACLs ($False)
    $subFileACL.SetAccessRuleProtection($False, $False) #SetAccessRuleProtection(block inheritance?, copy parent ACLs?)
    $subDirACL.SetAccessRuleProtection($False, $False) #SetAccessRuleProtection(block inheritance?, copy parent ACLs?)
    #####loop through subitems
    $subdirs = Get-ChildItem -path $Locked.Fullname -force -recurse #force is necessary to get hidden files/folders
    foreach ($subitem in $subdirs) {
    #take ownership to insure ability to change permissions
    #Then set desired ACL
    if ($subitem.Attributes -match "Directory") {
    # New, blank Directory ACL with only Owner set
    $blankdirAcl = New-Object System.Security.AccessControl.DirectorySecurity
    $blankdirAcl.SetOwner([System.Security.Principal.NTAccount]'BUILTIN\Administrators')
    #Use SetAccessControl to reset Owner; Set-Acl will not work.
    $subitem.SetAccessControl($blankdirAcl)
    #At this point, Administrators have the ability to change the directory permissions
    Set-Acl -aclObject $subDirACL -path $subitem.Fullname -ErrorAction Stop
    } Else {
    # New, blank File ACL with only Owner set
    $blankfileAcl = New-Object System.Security.AccessControl.FileSecurity
    $blankfileAcl.SetOwner([System.Security.Principal.NTAccount]'BUILTIN\Administrators')
    #Use SetAccessControl to reset Owner; Set-Acl will not work.
    $subitem.SetAccessControl($blankfileAcl)
    #At this point, Administrators have the ability to change the file permissions
    Set-Acl -aclObject $subFileACL -path $subitem.Fullname -ErrorAction Stop
    Write-Host "." -NoNewline
    Write-Host "fin."
    Write-Host "Script Complete."
    I hope you find this useful.
    Thank you,
    Tony
    Final Thought: There are great non-PS tools like
    Set-Acl and takeown which are external to PS & can also do the job wonderfully.  It may be much simpler to call those tools than recreate the wheel in pure
    code.  Feel free to use whatever best suits your time, scope & cost.

  • How to fix custom access so permissions will work

    How to disable “custom” access setting on my hard drive which causes permissions problem?
    This is on a 2007 MBP with most recent OSX, etc.
    Here’s what I have tried based on posts I read on this forum:
    (1) I logged into admin account and typed into Terminal the following:
    sudo fsaclctl -p /Volumes/drivename -d
    sudo chmod -R +rwX /Volumes/drivename
    No go. Terminal does not recognize command fsaclctl
    (2) I also tried into terminal
    
sudo chflags nouch /Volumes/”drive-name”
    chmod 755 /Volumes/”drive-name”
    (3) I restarted with recovery disk and did repair permissions. No go.
    I saw a suggestion to erase the hard disk and reinstall OSX. I will do so (but would rather not) if it will solve the problem. Any advice is welcome.

    Try Settings > General > Reset > Reset Network Settings
    If that didn't helped:
    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)
    Note: You will not lose any data.

  • [Solved]How to fix grub after Windows XP install?

    I installed Windows XP on top of Arch in a different partition.
    It looks something like this:
    /dev/sda1 - XP
    /dev/sda2 - Arch
    /dev/sda3 - Swap
    Grub is located on /dev/sda2/ in /boot/grub/
    Windows XP obviously overwritten the mbr like it normally does.
    I tried loading the arch live install cd, and trying grub-install /dev/sda and /dev/sda1 and /dev/sda2 but it doesn't do anything.
    I want to overwrite Windows XP's boot loader with grub and add XP as an option to boot. Can someone please give me noob friendly instructions on how to accomplish this with minimal effort? It's important I don't damage the XP or Arch partitions. Thanks for any help.
    Last edited by PrimoTurbo (2008-07-30 18:06:43)

    I fixed it! Nearly the same instructions as lucke gave but I just used the Arch Live cd. All I did was boot Arch Live cd, it presented me with grub and bunch of options. (I didn't even boot into the cd) just pressed C so it loaded the grub terminal.
    Then:
    find /boot/grub/stage1
    Which outputs:
    root (hdX,Y)
    (In my case it was hd0,1)
    Then:
    root (hdX,Y)
    [Don't forget there is space after root and (hdX,Y)]
    Finally:
    setup hd0

  • [Solved] How to remove default "performance" CPU-scaling governor.

    I was goin' trough the cpu scaling wiki and i was able to add the ondemand
    cpu scaling governor and the appropriate powerdriver with modprobe command.
    Then the cpu speed was lowered as it should so i've added these two to the modules section in rc.conf as well, to start at boot.
    After reboot cpufreq-info's output says that both governor is loaded, BUT it doesn't switch to ondemand mode.
    1. How can I remove the performance mode?
    2. Or is there a possibility to setup it somehow that it switches to ondemand only if i switch to battery mode?
    3. Other problem was for me that
    find /sys/devices/ -name ondemand
    doesn't give back anything, so i cannot lower ondemands governor scaling limit. Where should be these settings?
    Now cpufreq-info output:
    cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
    Report errors and bugs to [email protected], please.
    analyzing CPU 0:
    driver: powernow-k8
    CPUs which run at the same hardware frequency: 0
    CPUs which need to have their frequency coordinated by software: 0
    maximum transition latency: 1000 ns.
    hardware limits: 750 MHz - 1.50 GHz
    available frequency steps: 1.50 GHz, 1.20 GHz, 750 MHz
    available cpufreq governors: ondemand, performance
    current policy: frequency should be within 750 MHz and 1.50 GHz.
    The governor "performance" may decide which speed to use
    within this range.
    current CPU frequency is 1.50 GHz.
    Last edited by robotrobert (2012-02-21 23:09:26)

    Raynman wrote:
    Not sure about 3, but everything else is covered in the wiki article linked by you.
    Configuring CPU scaling is a 3-part process:
      1.  Load appropriate CPU frequency driver
      2.  Load desired scaling governor(s)
      3.  Select a method to manage switching and tuning governor(s):
    You stopped after the second part.
    Ye, you were right. After i didn't found that folder i was looking for i didn't continue on it.
    Turns out, if u use:
    echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    It makes that folder, and u can access all those treshold variables.
    But when just running first:
    modprobe cpufreq_ondemand
    the folder for ondemand won't be created. Im sure this is logical, i'm just new to the whole logic of this.
    After modifying tresholds, i've installed laptop-mode, and I need to say, it really k*cks *ss. You can set everythin u want, and it runs along fine in a daemon, using for example: acpid for checking battery state, hdparm for setting power/spinning of hard disks...
    I just leave another wiki link here if someone gets here...
    LAPTOP-MODE TOOLS
    There's still a not-releated question here, how come i cannot edit as a superuser directly these file under /sys/devices/system/cpu ? I know that these meant to be edited by the system, but still i tought if i'm root, i modify what i want...
    ( I know that I can assign parameters to these files with edit -n <number> > <filename> )
    Last edited by robotrobert (2012-02-21 23:08:55)

  • [solved] How to set default browser for qt apps ?

    hi ,
    I'm running a LXDE session and I can't figure out how to set opera as a default browser in qt apps . they default to firefox .
    Any ideas ?
    Last edited by Nezmer (2008-11-21 11:37:52)

    grep wrote:
    http://kb.mozillazine.org/Setting_Your_Default_Browser
    I read this guide before .
    The DE I'm running is LXDE and the apps are pure qt4 .
    how can this guide be helpful ?
    Last edited by Nezmer (2008-11-16 19:06:23)

  • [solved] how to fix a confused grub?

    I recently installed a SSD on my laptop and put arch on it.
    On my "old" HDD I had another Arch install and a windows install which I never touched again after having arch running on SSD.
    To be able to boot into windows I installed os-prober and did
    grub-mkconfig -o /boot/grub/grub.cfg
    The windows OS was found, as well as my old Arch install. I can now boot both BUT my main OS on the SSD fails because /sbin/init is no longer there. I think os-prober did generate a false cfg file here...
    (I did not make a backup)
    How can I fix this?
    Last edited by benovic (2013-08-12 10:26:38)

    Thanks for your answer. I fixed it by chrooting in from CD and adding the init= ... to the kernel options manually. I am sure i used the right HDD and the right grub. I don't know why grub-mkconfig failes to generate a proper entry. first i thought that os-prober is the culprit but removal of this didn't change much.
    I installed systemd-sysvcompat now and hope things will stay ok
    Thank you for your time!

  • [SOLVED]How to set default audio playback device?

    I have an X-fi forte soundcard that doesn't work on linux, so I'm just gonna use the onboard realtek chip, but I get no sound from that either unless I physically remove the X-fi card.
    I use the X-fi when I boot into windows though, so I'd like to keep it...
    How do I change the default playback device?
    I didn't find anything that worked in the wiki or with google.
    Last edited by raginaot (2010-12-05 04:30:21)

    oh wait... I just spotted this in the wiki guide, a little too late
    NB: Some modules do not support indexing options eg. snd-hda-intel. If you experience problems on reboot edit /etc/modprobe.d/modprobe.conf to just have the modules.
    what does that mean "edit /etc/modprobe.d/modprobe.conf to just have the modules.".... what modules? :S
    should I just remove "index=0" from the line?
    Edit: yes I should. It's working
    Thx man
    Last edited by raginaot (2010-12-05 04:29:52)

  • How to fix ram or disk error

    Everytime I start my laptop up, the hp logo flashes for a quick second, and then goes to a black error screen that says "ram or disk error, strike ny key when ready". I strike a key, and it just repeats this process. Can I get help please? I have an hp pavilion zt3000 laptop

    Hi deanrossjr,
    I would like to help with the, ram or disk error - strike any key when ready, error you're experiencing. I suggest  we start by following the steps listed in the following Link. This is a good place to start. Let me know the outcome and if you would like further assistance.
    Hope this helps,
    Sunshyn2005
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • [Solved] How to restore lost home folder permissions

    I recently moved a shared folder with a few hundred home folders in it to fill up drive space. After I moved it i made sure that it was reshared exactly the same way only to discover that each users full rights, originally granted by active directory, were
    missing. I searched the internet for hours looking for a solution and never found one, so when I created my own i decided to share my method.
    We use a simple structure. Use AD to create the home folders (\\servername\share\%username%) which gives the user full control of their folder, then enable access based enumeration so they can only see their
    own folder. What i did was move the already created folders to a temporary location, then select all users in AD and recreate the home folders using the method above. Now I have all of the correct folder/permissions, they're just empty. Next I copy the old
    folders back, and merge them with the new folders. What I end up with is essentially all of the original files in newly created folders with the correct permissions.
    Hope this can save someone the hours I wasted in research.

    Thanks JaMere! That was helpful. I was about to restore permissions from backup, but instead tried your method out of curiosity. Worked like a champ!

  • [SOLVED] How to open default text editor from bash script?

    as header states i would like my script to open the desktops default text editor. I use xfce.
    I currently have it set to open medit, however i want to be able to use script on other desktops
    Last edited by orphius (2013-07-12 07:24:34)

    Trilby wrote:
    EDITOR will often not be the default desktop environment editor - it is usually limited to being a systemwide (and usually console-ready) editor.
    xdg-open, or a related tool, can give you the desktop's text editor.
    Truth. VISUAL is typically used for the graphical text editor.
    So, to use VISUAL if it exists, but otherwise default to medit, do:
    editor="${VISUAL:-medit}"
    $editor foo.txt
    Last edited by jakobcreutzfeldt (2013-07-11 07:09:02)

  • [SOLVED] How to add a second disk to my HP Pavilion DV7 4320EL?

    Hello.
    I have a Pavilion DV7 4320EL. I know that it has a second slot to add a second HDD or SSD, but the connector can't be found. Someone knows where it is?

    Hi
    http://www.youtube.com/watch?v=EZgiX-pzdL8
    maybe help!

  • Upgraded using Snow Leopard 10.6.3 & now running 10.6.8. How to repair Disk Permissions?

    Is it true that running Disk Permission Repair from the original 10.6.3 Snow Leopard disk will not properly repair my hard drive curently running 10.6.8? If it is true, how can I properly repair disk permissions in 10.6.8 if it's counter-productive to boot from the 10.6.3 disk? My MBP is a September 2006 model.
    Thanks, Thor

    If you mean repair permissions, run it from the Mac OS X 10.6.8 system without rebooting.
    If you mean repair disk, restart from the computer's original thumbdrive or Mac OS X install DVD, and if that doesn't work, with the Shift key held down to quietly run the repair utility.
    (71911)

Maybe you are looking for