You are not logged in.
Pages: 1
Hello everybody. I have an aditional partition /dev/sda7 which is being mounted under /mnt/data The problem is that only root has read/write access to it. I want all my users to have read/write access. I have made some changes to my /etc/fstab according to an arch wiki page but still I can't mount it as a single user. Here is some info.
[axel@aeris mnt]$ ls -la | grep data
drwxr-xr-x 3 root root 4096 2008-02-12 18:19 data
[axel@aeris mnt]$ groups
wheel video audio optical storage users axel
[axel@aeris mnt]$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 ro,user,noauto,iocharset=utf8,unhide 0 0
/dev/sda2 /boot ext3 defaults 0 1
/dev/sda3 / ext3 defaults 0 1
/dev/sda5 swap swap defaults 0 0
/dev/sda6 /home ext3 defaults 0 1
/dev/sda7 /mnt/data ext3 auto,exec,rw,async,users,suid 0 1Offline
"chown root.users -R /mnt/data" and perhaps chmod it accordingly. If you want more refined access control, read about extended attributes - but it's a bit more complicated stuff.
Offline
Yes, you don't need to mount it as users: I have the same setup (/data), and mount it with just "defaults" in fstab, and chowned and chmodded the directory (/data). I'm not sure, but you might need to do those things both before and after mounting it (but just once).
Offline
Thanks for the info. I changed my /etc/fstab to defaults for /mnt/data. Then I used
# chown root:users -R /mnt/data
# chmod -R 775 /mnt/data/and now everything is ok.
Offline
Pages: 1