[mythtv-users] Mounting DVDs via NFS problem
R. G. Newbury
newbury at mandamus.org
Tue Jan 24 19:19:45 UTC 2006
Piers Kittel wrote:
> 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?
>
Wild guess. Go to the server machine and try 'iptables -F'
This flushes all the rules for access from outside machines such as your
client. It may just be that the reason the operation is not permitted is
because your client machine is not permitted access by iptables...
I had a problem with attempted NFS mounts, being told that the server
was not available... when it was running. Turned out that it was just
not available to my client machine because of iptables firewall rules. I
have no idea how to fix that. I just turn off iptables when I need access.
Geoff
More information about the mythtv-users
mailing list