Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5794

Advanced users • Re: Any changes around how sym link permissions work in bookworm?

$
0
0
Debian Bookworm and newer Linux distributions often have stricter security policies, especially around symlinks, to prevent privilege escalation attacks.
fs.protected_symlinks was already enabled by default in bullseye (and also in buster).
Perhaps this is more an issue with the default permissions applied to directories under '/home' ?

That did change under Bookworm to what it had been previously.

I simply changed permissions of those home directories and that worked for me, appears to have set things back to how they were pre-Bookworm, at least as far as I needed them to be -

Code:

sudo chmod og+rx /home/pisudo chmod og+rx /home/guest

Code:

pi@Pi4B:/home $ ls -ltotal 8drwxr-xr-x 16 guest guest 4096 Nov 10  2023 guestdrwxr-xr-x 64 pi    pi    4096 Jan  4 01:01 pi

Statistics: Posted by hippy — Sat Jan 04, 2025 3:20 pm



Viewing all articles
Browse latest Browse all 5794

Trending Articles