This appears to be due to an intentional change in behavior to improve
security which I believe was introduced in 19.10. To restore the older
behavior, create `/etc/sysctl.d/protect-links.conf` with the contents:
fs.protected_regular = 0
Then restart procps:
sudo systemctl restart
apport information
** Tags added: apport-collected
** Description changed:
1. create folder by root
2. add wt permission flags to all in that folder
3. flock a file by user in that folder - success
4. flock the same file by root - error: Permission denied
It is somehow important that
test@ubuntu20-04:~$ uname -a
Linux ubuntu20-04 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
test@ubuntu20-04:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
NAME="Ubuntu"
3 matches
Mail list logo