[Bug]: Unnecessary windows system flag (on syned files) causes issues for 3rd party tools
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
Nextcloud windows client creates the System flag on the synced directories. This attribute seems to be unnecessary for nextcloud, but causes other programs to no longer access the files correctly.
### Steps to reproduce
1. Sync any files with the windows client
2. Open Command (cmd)
3. Navigate to the parent folder of a synced folder (with "cd")
4. Using "dir" does not show the synced folder. Using "dir /as" shows it as system-folder
Sidenote: Other 3rd party tools ignore system flagged folders, e.g. Voidtools Everything (file indexed search tool)
### Expected behavior
The nextcloud windows client should refrain from setting the system attribute.
If it has any use, the functions should also be possible without the system flag.
### Which files are affected by this bug
all synced folder
### Operating system
Windows
### Which version of the operating system you are running.
Windows 10
### Package
Official SNAP package
### Nextcloud Server version
24.0.7
### Nextcloud Desktop Client version
3.6.4
### Is this bug present after an update or on a fresh install?
Fresh desktop client install
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
_No response_
### Additional info
Additional forum links:
Nextcloud Forum:
Why is the Nextcloud data/sync folder created with the System flag?
https://help.nextcloud.com/t/why-is-the-nextcloud-data-sync-folder-created-with-the-system-flag/144348
Everything forum:
Everything not indexing Nexcloud folders
https://www.voidtools.com/forum/viewtopic.php?p=47896
Contributor guide
Assessment
This issue has not been assessed yet.