<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/root_test, branch o_symlink</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=o_symlink</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=o_symlink'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2026-02-01T19:05:13+00:00</updated>
<entry>
<title>syscallcompat: DetectQuirks: suppress Btrfs message when -noprealloc has been passed</title>
<updated>2026-02-01T19:05:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-01T19:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ed5f8487b15f1d9cd83b4b0a4220271b6c5f189e'/>
<id>urn:sha1:ed5f8487b15f1d9cd83b4b0a4220271b6c5f189e</id>
<content type='text'>
Reported by @Tunoac, https://github.com/rfjakob/gocryptfs/issues/395#issuecomment-3828507487
</content>
</entry>
<entry>
<title>quirks: drop tmpfs xattr quirk</title>
<updated>2025-11-29T21:01:03+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-11-29T21:01:03+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4c6d3926008347d5034bdbade8077890425a55ec'/>
<id>urn:sha1:4c6d3926008347d5034bdbade8077890425a55ec</id>
<content type='text'>
tmpfs supports user xattrs since Linux 6.6 (anno 2023):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2daf18a7884dc03d5164ab9c7dc3f2ea70638469
</content>
</entry>
<entry>
<title>tests: root_test: move btrfs test to new file</title>
<updated>2025-08-03T19:25:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-03T14:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2a5862ade9efe849ea1486b37ab672ec9a0a7e8d'/>
<id>urn:sha1:2a5862ade9efe849ea1486b37ab672ec9a0a7e8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: TestBtrfsQuirks: skip if mkfs.btrfs is not installed</title>
<updated>2025-07-14T19:28:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-07-14T19:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0c338cfc7a20ff2dc9d4ea7e93306411d276f15b'/>
<id>urn:sha1:0c338cfc7a20ff2dc9d4ea7e93306411d276f15b</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/930
</content>
</entry>
<entry>
<title>Fix a bunch of staticcheck errors</title>
<updated>2025-07-07T17:59:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-07-07T17:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8f5df19b353e02ffba842fd1b15ccf93da7ee3b4'/>
<id>urn:sha1:8f5df19b353e02ffba842fd1b15ccf93da7ee3b4</id>
<content type='text'>
Tool-assisted.
</content>
</entry>
<entry>
<title>tests: add TestRootForceOwner</title>
<updated>2025-06-05T17:22:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-05T17:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e55a637512131c21a7eb16574aba799abd2a336f'/>
<id>urn:sha1:e55a637512131c21a7eb16574aba799abd2a336f</id>
<content type='text'>
	$ make root_test
	[...]
	=== RUN   TestRootForceOwner
	    root_test.go:398: mkdir /var/tmp/gocryptfs-test-parent-0/3816769547/TestRootForceOwner.2366169656.mnt/dir1: permission denied
	    root_test.go:408: open /var/tmp/gocryptfs-test-parent-0/3816769547/TestRootForceOwner.2366169656.mnt/file1: permission denied
	    root_test.go:415: mknod: permission denied
	--- FAIL: TestRootForceOwner (0.04s)

https://github.com/rfjakob/gocryptfs/issues/783
</content>
</entry>
<entry>
<title>tests/root_test: use our own Setgroups/Setregid/Setreuid wrappers</title>
<updated>2025-02-26T20:56:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-26T20:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0024b056d668290e5105527e8ff0a3b23a3a70c8'/>
<id>urn:sha1:0024b056d668290e5105527e8ff0a3b23a3a70c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/root_test: add TestConcurrentUserOps and TestAsUserSleep</title>
<updated>2025-02-23T21:34:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-23T21:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=178f570d4076ee9be408c9eb5e50502275a180c6'/>
<id>urn:sha1:178f570d4076ee9be408c9eb5e50502275a180c6</id>
<content type='text'>
Both work with

	golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a

but break with

	golang.org/x/sys v0.30.0

https://github.com/rfjakob/gocryptfs/issues/893
https://github.com/rfjakob/gocryptfs/issues/892
</content>
</entry>
<entry>
<title>tests: root_test: add TestMain</title>
<updated>2025-02-17T20:37:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-17T20:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3c82930d4ad22b5be2f644346018a0550dd66aa8'/>
<id>urn:sha1:3c82930d4ad22b5be2f644346018a0550dd66aa8</id>
<content type='text'>
I will add more tests for https://github.com/rfjakob/gocryptfs/issues/893
soon, these will also use DefaultPlainDir.
</content>
</entry>
<entry>
<title>tests: root_test: use TMPDIR=/var/tmp</title>
<updated>2023-05-17T13:21:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T13:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=76d0f3ca7c491b39197e1a69c52b63c39455acfc'/>
<id>urn:sha1:76d0f3ca7c491b39197e1a69c52b63c39455acfc</id>
<content type='text'>
Otherwise we fail like this on my Fedora 38 box:

	=== RUN   TestOverlay
	DetectQuirks: tmpfs detected, no extended attributes except acls will work.
	    root_test.go:379: No user xattrs! overlay mount will likely fail.
	15:15:57.957960 Unimplemented opcode OPCODE-51
	    root_test.go:398: mount: /tmp/gocryptfs-test-parent-0/3652394902/TestOverlay.2374697046.mnt/merged: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
	               dmesg(1) may have more information after failed mount system call.

	    root_test.go:399: exit status 32
	--- FAIL: TestOverlay (0.04s)
	FAIL

Also fix the messed-up DetectQuirks bit test.
</content>
</entry>
</feed>
