[Bug 1875667] Re: root cannot flock user file in rwt dir if parent gives limited access

2020-04-30 Thread Francis Ginther
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

[Bug 1875667] Re: root cannot flock user file in rwt dir if parent gives limited access

2020-04-28 Thread raandom
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

[Bug 1875667] Re: root cannot flock user file in rwt dir if parent gives limited access

2020-04-28 Thread raandom
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"

[Bug 1875667] Re: root cannot flock user file in rwt dir if parent gives limited access

2020-04-28 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people

[Bug 1875667] Re: root cannot flock user file in rwt dir if parent gives limited access

2020-04-28 Thread raandom
This applies to Ubuntu 20.04 only. No error in Ubuntu 16.04, Debian 10. ** Tags added: focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875667 Title: root cannot flock user file in rwt dir if