Piers Kittel wrote:

>Geoff,
>  
>
>>One answer which will last through a reboot would be to amend the line 
>>in 50-udev.rules to add a "Group=mythtv" and "Mode=770" to the line 
>>describing /dev/hdc or whatever your hardware is listed as ( as in fstab).
>>    
>>
>OK installed udev, and the /etc/udev/rules.d/020_permissions.rules 
>seemes OK to me but still not working.  Here's the snippet from the file:
>
># IDE devices
>BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", \
>   PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", 
>GROUP="cdrom", MODE="770"
>
>There's no entry for hdc anywhere.
>
>The snippet for my user in the groups file is:
>
>cdrom:x:24:piers
>
>And the CDROM mount directory still shows:
>
>dr-xr-xr-x  3 4294967295 4294967295 88 2003-09-08 21:08 cdrom0
>
>What am I doing wrong here?
>
>Thanks so much for your help again!
>  
>
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
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to