Re: How to change ownership of subdirectories under /media
On Sat 03 May 2025 at 06:22:45 (-0400), Haines Brown 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.
There are several answers posted, but after you have finished and
unmounted all the filesystems in /media, remember to revert the
permissions/ownership of /media to drwxr-xr-x root root
and leave it like that.
Cheers,
David.
Reply to: