Fedora KDE: Could not change permissions for "file.jpg"
matthieugras opened this issue · 11 comments
I'm getting this error message when I'm trying to copy some files in Dolphin (GUI file explorer) to the the crypted folder. If I copy too many files this opens so many windows that my system freezes.
I've just run into a similar problem on Arch Linux. The system is unable to set attributes and hence chmod doesn't work.
The issue is already tracked there, but seeing that this issue also exists in Fedora, I believe this could be an upstream issue.
I don't know anything about the Fedora package, but in the Arch package, this issue occurred when the build source changed from cloning the repo with tag 1.6 to getting gocryptfs_v1.6_src-deps.tar.gz.
The former also only depended on go-2, while the latter depends on a hell of a lot Haskell packages.
I agree, sounds like a problem in gocryptfs. Can I download the arch linux gocryptfs binary somewhere?
FWIW, I haven't noticed any problems in Debian. We built from gocryptfs_v1.6_src.tar.gz (no deps).
For identification purposes, I attached your relevant upstream signature gocryptfs_v1.6_src.tar.gz.asc.gz (Github required a zipped upload). You can also find hashes here.
You can find version information for our build dependencies in this i386
build log (although I and most other users are probably on amd64
)
I can reproduce the problem with gocryptfs_v1.6_src-deps.tar.gz .
So I think you need this commit: 658cc4a . I have released gocryptfs v1.6.1 that includes this commit: https://github.com/rfjakob/gocryptfs/releases/tag/v1.6.1
This only affects users who are on Go 1.11 or higher. Debian has Go 1.10, so I guess that's the difference.
@xelra @matthieugras does gocryptfs v1.6.1 fix the issue?
@rfjakob I can confirm that the issue is fixed with v1.6.1. I was also seeing the EOPNOTSUPP errors, so I think the fix was spot on.
Strange that the error only showed on a certain build source.
IMO this issue can be closed.
My guess is that the move from AUR also changed the Go version that was used to build gocryptfs?
Thanks for testing!