Nextxcloud Sync changes directory permissions

I am using Nextcloud AIO with the latest updates on my Debian 12 server.
On my Laptop I have the nextcloud client installed with version

Nextcloud version 3.13.2git
Git revision f0ab45748f296ff00856d54be97a1d58988cd540
Using Qt 5.15.14, built against Qt 5.15.14
Using Qt platform plugin 'wayland'
Using 'OpenSSL 3.2.2 4 Jun 2024'
Running on Fedora Linux 40 (Workstation Edition), x86_64

The Nextcloud sync always changes the permissions of directories to 777 after some time - even if I explicitly set it to 755.

This is not wanted and could In some cases even be a security risk.

How can I fix this issue?

I see the same issue on my linux client; whenever Nextcloud client synchronizes a file, the parent directories have their permissions changed to rwxrwxrwx.

I don’t understand why the permissions are changed.

My versions:

  • nextcloud-client: 3.13.3-1 (manjaro)
  • nextcloud: 29.0.6
1 Like

The following issue looks similar:

It seems it is fixed but not released yet…

1 Like