November 27, 20223 yr I have 4 drives in raidz configuration mounted to the unraid file system under /mnt/Data. I'm not sure if unraid manages file permissions automatically if you create shares on btrfs. But I'm having this issue with next cloud, the /data directory is mounted to /mnt/Data/nextcloud. I've used the dynamix file manager to set the permissions to this folder to write/read for owner/group/other (I think this is 777 permissions). When I setup next cloud is says I need to change my data folder permissions to 0770. I'm not sure what the first 0 is but in the file manager I set the permissions to read/write for owner/group and none for others. Next cloud then throws an error saying It has no write permissions. Now I'm stumped and need some help.
November 28, 20223 yr read/write for owner/group/other translates to 666. Looks like you need execute permissions on at least the owner and the group along with read and write. Go to the terminal, and issue the following commands: cd /mnt/Data chmod -R 770 ./nextcloud I'm surprised the dynamix file manager doesn't offer a setting to toggle the execute permission.
March 29, 20233 yr Just want to say thanks, this popped up on Google search, because I was having the same issue. But I had to change the commands slightly. On my setup I had to change the following: Instead of: cd /mnt/Data It was CD /mnt/user Then Instead of: chmod -R 770 ./nextcloud It was chmod -R 770 nextcloud Then permissions fixed
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.