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 09/11/2021 10:30, Julian Hall wrote:
> On 08/11/2021 18:52, comrade meowski wrote:
>> 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.
> julian@Cerce:~$ sudo umount /media/julian/DEMETER
> [sudo] password for julian:
> julian@Cerce:~$ sudo chown julian:julian /media/julian/DEMETER
> julian@Cerce:~$
>
> *saved reply, rebooted*
>
> julian@Cerce:~$ cd /media/julian/DEMETER
> bash: cd: /media/julian/DEMETER: Permission denied
>
> It seems to allow permission mount the device but not to the actual files.
>
> Juliam
>
Something, somewhere is altering permissions "for" you ... what .. I cannot fathom ..
meowski ?!

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

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