[mythtv-users] usb mount

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Jan 1 16:01:58 UTC 2024


On Mon, 1 Jan 2024 20:25:59 +0800, you wrote:


>> Check the ownership and permissions.  I normally set mountpoints to
>> chmod a-rwx so that if they are not mounted, then there is no access
>> to the directory they mount on and any commands using that mountpoint
>> will fail, rather than writing to the directory or below it.  And I
>> make mountpoint directories chown root:root if they are to be mounted
>> from fstab.
>
>Thats a good idea. Are the final permissions set by fstab?

The permissions for something mounted on a mountpoint are from the
media that is mounted - they are not set from fstab.  There are
options in fstab for who is permitted do the mount, but once mounted
the usual chown/chmod/acl permissions apply.


More information about the mythtv-users mailing list