cewillis@cbse.uab.edu 0 Posted September 1, 2004 I'm running Fedora Core 1 got the latest and greatest loaded, but I can't get the permissions to allow a user to read and execute on the dvd itself, root is allowed, but user isn't and no matter what I do I can't get the user the permissions he needs. Anyone run into this problem, or any suggestions? Thanks in advance Share this post Link to post
blackpage 0 Posted September 1, 2004 gidday cewillis My first guess would be that some options in your /etc/fstab have gone amiss. Open the above file and check for some line like ... Code: /dev/dvd /mnt/dvd iso9660 noauto,user,ro 0 0 In brief: you can control access to a filesystem that gets statically mounted via the /etc/fstab file with a series of options. Commonly used are ... user (filesystem can be mounted by non-root users) uid=xxx (users-id (number) can mount the fs.) gid=xxx (group-id (number) that can can mount the fs.) Also an all-time favorite is the so called umask-option. "umask" appears in an fstab-line as this ... Code: /dev/dvd /mnt/dvd iso9660 noauto,umask=xxx,ro 0 0 ... and as you can see, it takes a numeric value as parameter (the "xxx" part). This number has to be specified in octal format (permittable digits range from "0" to "7"). The tricky bit is that umask is in fact the inverse of what you usually would use to give permissions with the "chmod" command. So where a ... Code: chmod 777 anyfile" ... would give all permissions to anybody for the file "anyfile" the umask section that does the same would look like that in /etc/fstab ... Code: /dev/dvd /mnt/dvd iso9660 noauto,umask=000,ro 0 0 But I won't go too much into detail. If you're keen to find out about all these fancy fstab- and mount-options just type "man mount" or "man fstab" and you will get more than you'd ever hoped for In the meantime just give it a go with a mount-lineup for the DVD in your /etc/fstab that looks like this ... /dev/dvd /mnt/dvd iso9660 noauto,user,ro 0 0 and you should be fine to go. If this fails add a "umask=000" after "users". hope this helps Share this post Link to post