[dolphin] [Bug 477526] NFS Mounts with all_squash,root_squash,anonuid=0,anongid=0 not able to modify files anymore
Méven Car
bugzilla_noreply at kde.org
Fri Dec 22 15:38:43 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=477526
--- Comment #7 from Méven Car <meven29 at gmail.com> ---
(In reply to Jessica M from comment #6)
> (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
Allright that's anonuid, anongid that makes your user act if it was root on the
fs.
This complicates things bit.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list