Comments (8)
Could you remove the "//
" in lines 60 and 61 in https://github.com/rfjakob/gocryptfs/blob/master/integration_tests/helpers.go and run test.bash -v again? This should give much more output.
from gocryptfs.
I apologise for the delay, here it is:
gocryptfs-debug.log.gz
from gocryptfs.
db72fce has fixed several issues I found during fsstress testing, could you test again with latest master?
from gocryptfs.
Unfortunately, I hit another error preventing me from re-testing:
git -C is not supported on my system. I'm running CentOS7 and
git --version
git version 1.8.3.1
So, I'm getting
bash -x ./test.bash
+ set -eu
++ dirname ./test.bash
+ cd .
+ source build.bash
++ set -eu
+++ dirname ./test.bash
++ cd .
+++ git describe --tags --dirty
++ GITVERSION=v0.9-2-g4d79fba
+++ git -C /home/eugene/go/src/github.com/hanwen/go-fuse rev-parse --short HEAD
Unknown option: -C
Should probably open a separate issue for this?
from gocryptfs.
Nah, fixed that one right away.
from gocryptfs.
How is it going? Did you try again?
from gocryptfs.
This is what I'm getting with the recent code:
./test.bash
gocryptfs v0.10-rc3-5-g30f0ae3; on-disk format 2; go-fuse 1628b02
? github.com/rfjakob/gocryptfs [no test files]
--- FAIL: TestDirOverwrite (0.00s)
main_test.go:351: rename /tmp/gocryptfs_main_test/plain/DirOverwrite1 /tmp/gocryptfs_main_test/plain/DirOverwrite2: file exists
FAIL
FAIL github.com/rfjakob/gocryptfs/integration_tests 1.458s
ok github.com/rfjakob/gocryptfs/internal/configfile 0.705s
ok github.com/rfjakob/gocryptfs/internal/contentenc 0.003s
ok github.com/rfjakob/gocryptfs/internal/cryptocore 0.003s
? github.com/rfjakob/gocryptfs/internal/fusefrontend [no test files]
ok github.com/rfjakob/gocryptfs/internal/nametransform 0.002s
ok github.com/rfjakob/gocryptfs/internal/prefer_openssl 0.002s
ok github.com/rfjakob/gocryptfs/internal/stupidgcm 0.272s
? github.com/rfjakob/gocryptfs/internal/toggledlog [no test files]
Attaching -v output as well.
gocryptfs.test.txt
from gocryptfs.
Finally go around to set up a VM with CentOS 7. The cause seems to be XFS. It surprisingly returns a different error when you try to overwrite a non-empty directory with a directory.
If you do this in ext4
$ cd $(mktemp -d) ; mkdir foo bar bar/foo ; touch bar/foo/file ; mv foo bar
you get
mv: cannot move 'foo' to 'bar/foo': Directory not empty
But on XFS you get
mv: cannot move ‘foo’ to ‘bar/foo’: File exists
With commit e994ffa, gocryptfs now handles both cases and the tests pass. Thanks again for reporting!
from gocryptfs.
Related Issues (20)
- Feature: Add support for LZ4 - Extremely fast compression in real time
- Feature: Add support for post-quantum algorithms HOT 1
- Feature: Add support for deleting all files if the password is not entered within the allotted time
- `ctlsock: bind: address already in use` after interrupted password input
- Small typo in the MANPAGE.md
- Usability issue: add extra text showing that -fsck is working HOT 1
- Poor write speed over GlusterFS remote file system HOT 1
- Safest way to change password for volume HOT 1
- Write slowdown by a factor of 10 (improved by increasing dd blocksize) HOT 2
- Can't create folder or file under a normal user when mounted by root with force_owner HOT 6
- first level gocryptfs.diriv file is always same when init in reverse mode HOT 2
- Invalid encrypted names, can't use them on NTFS volumes HOT 2
- `gocryptfs -speed` panics on go1.21 HOT 2
- TestDirectMount, TestForceOwner fail: fusermount requires user_allow_other in fuse.conf
- Embedding gocryptfs in a Go webserver HOT 3
- https://github.com/rfjakob/gocryptfs.wiki.gitv2.3
- Glenn HOT 1
- An idea
- Unmount before upload to the cloud
- 2.4.0 on MacPorts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocryptfs.