this post was submitted on 26 Dec 2023
36 points (97.4% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54443 readers
293 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Hey i was playing around with my sonarr/radarr containers, i wanted to get the permissions right. Everything was just 777. They are in containers with -e PUID=1000 -e PGID=1000. When i set their folders to 700 and chown 1000:1000 the folder. If i go in the container i can read write all i want and outside the container the permission is like excpected to the 1000 user, but when i wanna add it as root path it shows the top dir but nothing below it.

Does someone know how to fix this? Now i set the dir back to 777 and its working but i would like to restrict it more. Thanks for your time!

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 10 months ago

Docker sucks with user management. I installed them all on bare metal each one on its own user. They all belong to a common "media" group and inset 750 as umask.

Its a bad bad idea to have 777 files and folders lying around, don't do it.

[–] [email protected] 2 points 10 months ago

I am not using docker, but I solved the permission issues by running them under the same user.

[–] [email protected] 1 points 10 months ago

Not sure I follow what the issue is, it sounds like permissions are working as expected. If you want your normal user account to have permissions you can create a group with ID of 1000 in the host OS, add your user to that group, and set permission to 770.

[–] [email protected] 1 points 10 months ago (1 children)

Try the chown command again with the -R flag to make it recursive, thereby granting ownership of all subdirectories as well.

Something like

sudo chown -R 1000:1000
[–] [email protected] 1 points 10 months ago

I already did that but nothing changed, stillthankqs for the input!