Hi,
I just noticed that a file I have synced has changed.
I had the file created on Linux Mint and synced it via the Desktop Client. The file I created had the file mode 755 (read, write, execute for owner and read, execute for groups and others).
When I synced it down on my Windows 11 client inside WSL with Ubuntu 20.04, I received the file in the mode 644 (read, write for owner, read for group and others).
This seems like a significant change. I couldn’t find anything about the file mode of files. Does Owncloud actually try to keep the file modes or is this simply out of scope for Owncloud?
Steps to reproduce
- Create a file on a linux client. Chmod it to 755
- Sync file to server
- Sync file to a second client, check the file mode with ls -l
Expected behaviour
The file modes shouldn’t change and still be 755
Actual behaviour
The file modes are set to 644
Server configuration
Operating system:
Ubuntu Server running recommended docker compose file with the latest tag
Web server:
Default compose file, apache
Database:
Default compose file, MariaDb
PHP version:
Not sure, current latest docker container
ownCloud version: (see ownCloud admin page)
10.11.0.6
Updated from an older ownCloud or fresh install:
Fresh install, docker image, new database
Where did you install ownCloud from:
docker hub
List of activated apps:
Default apps plus the default encryption app.
Are you using external storage, if yes which one: no
Are you using encryption: yes
Are you using an external user-backend, if yes which one: none
Client configuration
Operating system: Linux Mint and Windows 11 WSL Ubuntu 20.04