Mike, > When you mount a filesystem on top of a directory, the mount > options--not the original directory permissions--determine the > permissions/ownership of the new "directory" (that is the root of the > filesystem) and the device permissions/ownership have nothing to do with > the resulting filesystem permissions/ownership. Therefore, the udev > permissions affect only /dev/hd*. > > And, on filesystems that don't support *nix permissions (like iso9660 > without RockRidge extensions and udf), even the permissions/ownership of > files and subdirectories (and their contents) are affected by mount > options. So, see "man 8 mount" > > Mike
Brilliant. OK have read the manual and have done it, it's mounted under proper username and groups: mythtv:/media# mount -o umask=000,uid=1000,gid=24 /dev/hdc /cdrom mount: block device /dev/hdc is write-protected, mounting read-only mythtv:/media# ls -l total 2 lrwxrwxrwx 1 root cdrom 6 2005-06-07 19:30 cdrom -> cdrom0 dr-xr-xr-x 3 piers cdrom 88 2003-09-08 21:08 cdrom0 mythtv:/media# Correct user and group, great, but it still doesn't work, showing: Jan 23 11:20:14 localhost rpc.mountd: authenticated mount request from akane.10sca.intranet:960 for /media/cdrom0 (/media/cdrom0) Jan 23 11:20:14 localhost rpc.mountd: getfh failed: Operation not permitted Any ideas what I'm doing wrong now? Thanks very much for your help again! Regards - Piers _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
