Hello all,
I followed this guide on building Nextcloud in iocage. However, after long term usage, I realized that the file that is being created by nextcloud has the wrong permission for the group where users logging in via SMB does not have the right to write the file.
For example, a "foo" user also in group 1000 cannot edit the file "test.txt" but can delete it.
I have seen people also have this issue on nextcloud forum: link
Some are suggesting using "umask" to correct this issue, which file should I add "umask 002" based on the guide that I follow?
Many thanks,
twsps
I followed this guide on building Nextcloud in iocage. However, after long term usage, I realized that the file that is being created by nextcloud has the wrong permission for the group where users logging in via SMB does not have the right to write the file.
Code:
drwxr-x--- 2 www 1000 4 Feb 28 00:19 PermissionTest -rwxr-x--- 1 www 1000 37 Feb 27 23:42 test.txt
For example, a "foo" user also in group 1000 cannot edit the file "test.txt" but can delete it.
I have seen people also have this issue on nextcloud forum: link
Some are suggesting using "umask" to correct this issue, which file should I add "umask 002" based on the guide that I follow?
Many thanks,
twsps