You are not logged in.
Pages: 1
I am having trouble setting up bazarr for my automated subtitle download and can't figure out what I'm doing wrong.
Media Folder(F) exist in my home directory which is recursive 775, owned by me as user of group `jellyfin` of which user `bazarr` is also a member .
here are the permissions of the folder :
Access: (0775/drwxrwxr-x) Uid: ( 1000/ kushy) Gid: ( 972/jellyfin)still, bazarr service keeps getting permission denied for saving any file in sub-directory of Folder F.
please help
Last edited by jerryDaBaaws (2021-03-17 11:26:23)
Offline
Read = 4
WRITE = 2
execute = 1
the number 5 = Read + Execute
you do not have WRITE permissions
Last edited by ponyrider (2021-03-17 06:25:25)
Offline
So I've to make it 777 ?
I was under the impression that if a group has write permission on a folder then members of that group will have too. Please correct me on this if I'm wrong.
If not true, then what is the difference between other users vs users who are the member of jellyfin group over permissions of this folder ?
Offline
You are right actually. the Jellyfin name threw me, but you do say quite clearly. hmm
Offline
What's the result of `ps -O gid $(pgrep bazarr)` (assuming that bazarr is the name of the service process)?
Offline
PID GID S TTY TIME COMMAND
34100 985 S pts/0 00:00:00 /usr/bin/zsh
34148 985 R pts/0 00:00:00 ps -O gid
Offline
It's not running under the jellyfin group and the "others" permissions apply to it.
Last edited by tucuxi (2021-03-17 07:21:41)
Offline
this seems to be the actual issue, I'm looking into it
Offline
thanks this was the problem, originally root was running the process, changing it to my username and jellyfin group solved the problem. btw output of `ps -O gid $(pgrep bazarr)` is still the same as earlier, how do you infer that this was the issue ?
Offline
Not sure if the command caught the service. I don't what the right name to pgrep for would be. Find out the process id of the service and run it through the `ps` command. The gid should be 972.
Last edited by tucuxi (2021-03-17 11:20:37)
Offline
Pages: 1