On Sat, 3 May 2025 06:22:45 -0400 Haines Brown <haines@histomat.net> wrote: > I want to enable a user to copy files to a USB key mounted on a > directory under /media. > > I can change the ownership of that directory to that of the user, but > when I mount the the key on it the ownsrhip reverts to root. As the > result a user cannot copy files to the key. I would enable the user to > copy files to the key and preserve their ownership. Did you change ownership before mounting? In this case the ownership of the /media folder on the local filesystem is changed, but not the ownership of the filesystem's root folder on the USB which will appear below /media folder after mounting the filesystem. During the mount you see the ownership and permissions of the mounted filesystem, but not the corresponding information of the mountpoint. -- kind regards Frank
Attachment:
pgpj2muL9K2aW.pgp
Description: OpenPGP digital signature