Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239487
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Permission Questions |
| Date | 2021-08-31 00:10 +0200 |
| Message-ID | <CRXDA-3dF-5@gated-at.bofh.it> (permalink) |
| References | <CRVs6-1qn-5@gated-at.bofh.it> <CRVBM-1tH-7@gated-at.bofh.it> <CRWxQ-24G-13@gated-at.bofh.it> <CRWHx-2st-23@gated-at.bofh.it> <CRX0S-2HW-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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*
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