[dolphin] [Bug 477526] NFS Mounts with all_squash,root_squash,anonuid=0,anongid=0 not able to modify files anymore

Jessica M bugzilla_noreply at kde.org
Fri Dec 22 12:19:34 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=477526

--- Comment #6 from Jessica M <jessica at jessicamaybe.com> ---
(In reply to Méven Car from comment #5)
> (In reply to Jessica M from comment #4)
> > (In reply to Méven Car from comment #2)
> > > Context:
> > > "[NFS] Root squash is a special mapping that maps remote root user (uid 0)
> > > to local "nobody" user (uid 65534), which has minimal privileges."
> > > https://wiki.ubuntu.com/nobody
> > > https://systemd.io/UIDS-GIDS/
> > > Apparently the name of the nobody user and the UID of this user varies
> > > across distributions, what a nightmare.
> > > 
> > > Could you share the result of the command "ls -l" from the root of your NFS
> > > mount (or any subfolder in your NFS mount).
> > 
> > I scrubbed the filenames:
> > 
> > -rw-r--r-- 1 root root  83380287608 Apr 29  2023 filename
> > -rw-r--r-- 1 root root  37506258221 Dec 28  2021 filename
> > -rw-r--r-- 1 root root  58277271060 Nov 21  2022 filename
> > -rw-r--r-- 1 root root  66487217431 Aug  5 16:28 filename
> > -rw-r--r-- 1 root root  72429881854 Dec 20 06:37 filename
> > -rw-r--r-- 1 root root  45531612882 Mar 29  2022 filename
> > -rw-r--r-- 1 root root  60576715981 Nov 17 17:21 filename
> > -rw-r--r-- 1 root root  80527093663 Oct 27 16:53 filename
> > -rw-r--r-- 1 root root  52836231162 Nov 24 17:55 filename
> 
> Is that on the server or the client ?
> I was meaning on the client side.
> Also there are not folders.

this is client side, here is an output with folders:

drwx------ 3 root root  36 Dec 22 00:20 foldername/
drwxr-xr-x 3 root root   3 Dec 13 13:50 foldername2/
drwxr-xr-x 2 root root 304 Dec 20 12:23 foldername3/
drwxr-xr-x 3 root root   9 Dec 13 02:11 foldername4/

anonuid and anongid are set to 0, making them all appear as root, but I'm still
able to read and write to them without being root

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list