LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Program is unable to access directory (https://www.linuxquestions.org/questions/linux-newbie-8/program-is-unable-to-access-directory-4175729596/)

sniper8752 10-05-2023 11:33 AM

Program is unable to access directory
 
I am using syncthing, and am getting this error message: 2023-09-26 10:08:11: Error on folder "p7 Camera" (pixel_7_tw32-photos): stat /mnt/qnap/syncthing/p7/.stfolder: permission denied
Syncthing is running in a docker container. Docker is running as root. Here are the folder permissions:
drw-rwxr-- 2 ansible root 4.0K May 18 13:34 .stfolder
It should have the permission to access it. Why can't it access it?

jailbait 10-05-2023 12:02 PM

I think that the permissions should be:

drwxrwxr-x

sniper8752 10-05-2023 02:17 PM

Would that also apply to the parent directories?

MadeInGermany 10-06-2023 04:43 AM

No, they need +x only (x for owner and group, maybe others; on a directory x means access).


All times are GMT -5. The time now is 12:11 AM.