You are not logged in.
Pages: 1
I do not want to automount anything, I don't mind running mount, so I inserted an fstab entry to allow me to mount /dev/sdb1 which is my external usb hard drive to /mnt/backup but even when I do this as a regular user the permission is only for root. Therefore I cant really access any of the files... Is there a way I can have it automatically mount with the user group having permission rwx? Thanks in advance for your time.
Last edited by isolier (2009-01-24 17:54:00)
Offline
I do not want to automount anything, I don't mind running mount, so I inserted an fstab entry to allow me to mount /dev/sdb1 which is my external usb hard drive to /mnt/backup but even when I do this as a regular user the permission is only for root. Therefore I cant really access any of the files... Is there a way I can have it automatically mount with the user group having permission rwx? Thanks in advance for your time.
Have you added the "user" option in the FSTAB?
Anyway, I'd recommend to do this:
su -c 'chown -R youruser:users /mnt/backup'
Proud Ex-Arch user.
Still an ArchLinux lover though.
Currently on Kubuntu 9.10
Offline
Ah well at first I tried that and nothing happened, then I realized I was mounting read only Anyhow, all of the directories were changed but none of the files were, man chown says -R is supposed to change all directories and their contents so I was confused as to why the file ownerships weren't being changed. So I then went to a directory within backup and tried to chown a particular file and it gives me "operation not supported"... What am I doing wrong?
Last edited by isolier (2008-01-11 23:07:54)
Offline
Ok, well I got it working, it had to do with ntfs so I needed to specify ntfs-3g in file system type within my fstab. This also required me to add fuse to my mods list in rc.conf as well as change the permissions of ntfs-3g so that it could be run by the storage group in order for the drive to be mountable by non root users. So there it is.
Offline
Pages: 1