On Sun, Jun 17, 2012 at 6:20 PM, Carlos E. R.
He has an external 1 TB USB drive. He used YaST > Partioner to reformat the drive as ext4. This all went fine. Unplug the drive and plug it back in and it's automounted as expected... .except, $USER cannot write to the disk, only root has write permissions.
No, mount the drive then change the permissions of the mount point. However, as the /media/* mount points are temporary, you have two solutions:
Aha.. but.. as I discovered with a little tinkering (which reminded me what I did so very long ago) you can plug in the ext4 formatted USB drive, do a chown -R $USER:$GROUP /media/USBLabel and it will remember that ownership for next time the device is connected to that computer. You can unmount and remount and it'll retain the tweaked permissions. So, in effect... it's solved I guess... the solution was what I thought... either create a directory on the drive and assign rights, or change the ownership of the mount point. Another alternative? Set the group to a common group for root and $USER for these actions?
a) Mount to a fixed point in /mnt via fstab, and change the permissions of that path after mounting
I wanted to avoid this. New user... getting him to futz in his fstab is not a good idea... he wants to try out Linux, but the connection to this new (to him) OS is tenuous at best.... several times this weekend he's been milliseconds from wiping it all and installing Windows due to high levels of frustration over little things... like formatting a drive and then discovering he cannot write to it without some silly tweaking. He expected to be able to write to the drive after formatting the exact same as he can from Windows or OSX
Mount masks will not work. Remember, it is an ext4, *nix permissions apply.
Right.. I was thinking of NTFS as we were fighting with an NTFS formatted drive just before that... and again, he couldn't write to the drive, and there a mask change I walked him through in fstab sorted that out. C -- openSUSE 12.1 x86_64, KDE 4.8.4 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org