D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Hate computers. Hate systemd. [Was Re: Hate computers. Hate HP. Hate USB.

 

On 08/11/2021 10:11, Julian Hall wrote:

julian@Cerce:~$ sudo chown julian:julian /media/julian/DEMETER
chown: changing ownership of '/media/julian/DEMETER': Operation not permitted

Well that seems pretty clear... I guess it's not happy about the mountpoint being in use, which seems fair enough. Let's try:

sudo umount /media/julian/DEMETER
sudo chown julian:julian /media/julian/DEMETER

# if no errors about permissions, reboot

If something is holding open a file on that filesystem the umount will fail and so will the subsequent chown so watch out for that.

The end goal is to simply change the owner of /media/julian/DEMETER to julian:julian.

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq