Hello, I use Nextcloud to keep important files synchronised between my computers. This works without any problems, but the folder on the desktop is treated as 777 after every file change. It affects all folders that are below Public/fr4, which is strange, it is kept in sync with a second machine and there (Public/he) this does not happen. How can I find out why this is happening? Are there any possibilities here? It is not the future to use find . -type d -exec chmod 755 {} \; Thank you. Silvio
Nextcloud does not care about your permissions. You can try this by creating a file, doing chmod 777 on it and then syncing on another machine, it will be synced with 644. Synchronizing permissions "would be bad for security", if you track down the relevant bug report. Yes, this is stupid. Martin On Thu, Aug 29, 2024 at 6:49 PM Silvio Siefke <siefke_listen@web.de> wrote:
Hello,
I use Nextcloud to keep important files synchronised between my computers. This works without any problems, but the folder on the desktop is treated as 777 after every file change.
It affects all folders that are below Public/fr4, which is strange, it is kept in sync with a second machine and there (Public/he) this does not happen.
How can I find out why this is happening? Are there any possibilities here? It is not the future to use find . -type d -exec chmod 755 {} \;
Thank you. Silvio
Hi,
Nextcloud does not care about your permissions.
You can try this by creating a file, doing chmod 777 on it and then syncing on another machine, it will be synced with 644.
Synchronizing permissions "would be bad for security", if you track down the relevant bug report.
Yes, this is stupid.
Martin
I think I explained it wrong. As I said, after changing a file in the folder, the folder gets 777, but I don't know why. drwxrwxrwx 5 siefke siefke 4096 30. Aug 09:43 Tmp I execute find to correct the rights. find . -type d -exec 755 {} \; drwxr-xr-x 5 siefke siefke 4096 30. Aug 09:43 Tmp Now I create a file and become again: drwxrwxrwx 5 siefke siefke 4096 30. Aug 09:43 Tmp I don't understand why this is happening? Is it because of Nextcloud, or does it have another cause? Are there any ways to find out? It only happens on the machine, no other PC is affected.
Yeah so this is a new one https://github.com/nextcloud/desktop/issues/6863 Martin On Fri, Aug 30, 2024 at 12:22 PM Silvio Siefke <siefke_listen@web.de> wrote:
Hi,
Nextcloud does not care about your permissions.
You can try this by creating a file, doing chmod 777 on it and then syncing on another machine, it will be synced with 644.
Synchronizing permissions "would be bad for security", if you track down the relevant bug report.
Yes, this is stupid.
Martin
I think I explained it wrong. As I said, after changing a file in the folder, the folder gets 777, but I don't know why.
drwxrwxrwx 5 siefke siefke 4096 30. Aug 09:43 Tmp
I execute find to correct the rights. find . -type d -exec 755 {} \;
drwxr-xr-x 5 siefke siefke 4096 30. Aug 09:43 Tmp
Now I create a file and become again:
drwxrwxrwx 5 siefke siefke 4096 30. Aug 09:43 Tmp
I don't understand why this is happening? Is it because of Nextcloud, or does it have another cause? Are there any ways to find out? It only happens on the machine, no other PC is affected.
participants (2)
-
Martin Rys
-
Silvio Siefke