-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avoid detecting permissions to be invalid on linux NTFS file system #7745
base: master
Are you sure you want to change the base?
avoid detecting permissions to be invalid on linux NTFS file system #7745
Conversation
Close #7613 Signed-off-by: Matthieu Gallien <[email protected]>
NTFS file system on Linux reports wrong permissions client believes they need to be fixed but as they cannot, we end-up having an infinite loop Signed-off-by: Matthieu Gallien <[email protected]>
AppImage file: nextcloud-PR-7745-c67aa8dde2ed198018cf3d41e91f9739fc2cf222-x86_64.AppImage |
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
#if defined Q_OS_LINUX | ||
const auto fileSystemInfo = QStorageInfo{_localPath}; | ||
qCInfo(lcEngine()) << "File system type for current sync folder:" << fileSystemInfo.fileSystemType(); | ||
if (fileSystemInfo.fileSystemType() == "NTFS") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting
2025-01-10 15:44:55:888 [ info nextcloud.sync.engine /drone/src/src/libsync/syncengine.cpp:645 ]:↦ File system type for current sync folder: "fuseblk"
michael@mars:~$ findmnt /mnt/data
TARGET SOURCE FSTYPE OPTIONS
/mnt/data /dev/nvme0n1p11 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
michael@mars:~$ grep data /etc/fstab
LABEL=Data /mnt/data ntfs-3g auto 0 0
Close #7613