permission on automounted device?
How do I set permissions on my automounted drives?
I want my automounted cdrom accessible to all users but only root can access it. When I try to chmod 777 the drive it still says permission denied even if I'm root. I guess my question is, can I set the permission in the automount settings? just like in fstab... Here are my configurations /etc/auto.master Code:
/amnt /etc/auto.pablo /etc/auto.pablo Code:
cdrw -fstype=iso9660,ro :/dev/scd0 |
First, did you try to change the permissions on the directory in which the cdrom is mounted and not the device itself?? Also, you may want to look at the man page for auto.pablo.
|
I fixed it now.... Somehow chmod didn't change the permission of the directories when it is mounted. I just added the umask in auto.pablo and it's ok now.
|
Good stuff, I'm happy that everything worked out for ya;)
|
All times are GMT -5. The time now is 10:47 PM. |