Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239506
| From | Rainer Dorsch <ml@bokomoko.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Permission Questions |
| Date | 2021-08-31 11:00 +0200 |
| Message-ID | <CS7MD-1r3-11@gated-at.bofh.it> (permalink) |
| References | <CRVs6-1qn-5@gated-at.bofh.it> <CRX0S-2HW-13@gated-at.bofh.it> <CRXDA-3dF-5@gated-at.bofh.it> |
| Organization | @home |
Am Dienstag, 31. August 2021, 00:00:02 CEST schrieb Greg Wooledge: > On Mon, Aug 30, 2021 at 09:29:14PM +0000, Andy Smith wrote: > > Hello, > > > > On Mon, Aug 30, 2021 at 05:07:16PM -0400, Greg Wooledge wrote: > > > unicorn:~$ strace bash -c 'echo stuff >> /tmp/123' > > > [...] > > > openat(AT_FDCWD, "/tmp/123", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 > > > EACCES (Permission denied) > > > > > > As far as I can see, this is a kernel bug. Unless I'm overlooking > > > something...? > > > > I think it's the sysctl fs.protected_regular: > > https://unix.stackexchange.com/a/503169 > > I think you're right. The changed behavior doesn't happen in /srv (only > in /tmp), nor does it happen on a buster system. > > According to <https://www.spinics.net/lists/fedora-devel/msg252453.html> > and <https://github.com/systemd/systemd/blob/main/NEWS>, the change > actually happened in... wait for it... systemd. > > *sigh* Hi Andy and Greg, many thanks for you very helpful replies, that explains the behavior fully. Rainer -- Rainer Dorsch http://bokomoko.de/
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Permission Questions Rainer Dorsch <ml@bokomoko.de> - 2021-08-30 21:50 +0200
Re: Permission Questions Greg Wooledge <greg@wooledge.org> - 2021-08-30 22:00 +0200
Re: Permission Questions Rainer Dorsch <ml@bokomoko.de> - 2021-08-30 23:00 +0200
Re: Permission Questions Greg Wooledge <greg@wooledge.org> - 2021-08-30 23:10 +0200
Re: Permission Questions Andy Smith <andy@strugglers.net> - 2021-08-30 23:30 +0200
Re: Permission Questions Greg Wooledge <greg@wooledge.org> - 2021-08-31 00:10 +0200
Re: Permission Questions Rainer Dorsch <ml@bokomoko.de> - 2021-08-31 11:00 +0200
Re: Permission Questions IL Ka <kazakevichilya@gmail.com> - 2021-08-30 22:00 +0200
csiph-web