[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Having filesystems mounted with the user option be owned by the user that mounts them?



On Fri, Sep 04, 2020 at 01:37:07PM -0400, rhkramer@gmail.com wrote:
> I was hoping that if I used "user" (or "users") in the mount command (or in 
> /etc/fstab) that the mounted filesystem would be owned by the user that mounted 
> it.  That doesn't (seem to) work.

It's not supposed to.  The "user" option in fstab simply allows a
non-root user to mount the file system.  It doesn't change the *contents*
of the file system.

              user   allow a user to mount

If you want to perform a file owner transformation on the contents of
the file system, then you need FS-specific options.  It really only
makes sense for FAT or NTFS file systems that don't have Unix owners
at all, so an owner transformation is *always* being performed.


Reply to: