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 10/11/2021 14:01, Julian Hall wrote:
> On 09/11/2021 15:47, comrade meowski wrote:
>> On 09/11/2021 10:30, Julian Hall wrote:
>>
>>> 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.
>>
>> Ok, this definitely seems to be going weirder than expected - this shouldn't
>> really be complicated at all.
> It's me - you expected it /not/ to be weird? :) No seriously I agree.
>>
>> Let's see the permissions now:
>>
>> sudo ls -alh /media/julian
> ulian@Cerce:~$ sudo ls -alh /media/julian
> [sudo] password for julian:
> total 16K
> drwxr-xr-x 5 root root 4.0K Oct 25 16:49 .
> drwxr-xr-x 3 root root 4.0K Sep  9 16:09 ..
> drwxr-xr-x 2 root root    0 Nov 10 11:05 DEMETER
> drwxr-xr-x 2 root root 4.0K Sep 18 09:55 HESTIA
> drwxr-xr-x 2 root root 4.0K Sep 18 09:56 PERSEPHONE
>
> Bizarre as julian:julian should be the owner:group of DEMETER
>
> Julian
>
Is there a difference in uid between the NAS and your local machine? IIRC NFS (At
leave for v3) uses numeric ids not strings ..
Listing from your local user, will "translate" those IDs to strings based on your
LOCAL settings, but these may not match the NAS ..

Aside from this .. that mount point smells fishy .. what are these other mountpoints
you have in the same dir?

"ln -ln" should give you numeric IDs, but you'd need to go into the NAS settings to
figure wtf it thinks its doing there.
Also, have you done a firmware update on the NAS in recent times?

Starting to grab at straws here ..

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