On Sat, 3 May 2025 at 10:23, Haines Brown <hai...@histomat.net> wrote:

> I want to enable a user to copy files to a USB key mounted on a directory
> under /media.

Hi, what type of filesystem is on the USB key? extt4? vfat?

Something else?????

> 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.
>
> This must be a common problem, but I have not found a solution on
> line or in man mount.

Did you read the 'Non-superuser mounts' section of 'man mount'?

Reply via email to