<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/xattr, branch v2.0-beta2</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta2</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta2'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2020-07-12T11:40:21+00:00</updated>
<entry>
<title>tests: don't crash on empty Flistxattr result</title>
<updated>2020-07-12T11:40:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-12T11:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fd0e8aa869ec74917d669d42f0e0d3b2888237b9'/>
<id>urn:sha1:fd0e8aa869ec74917d669d42f0e0d3b2888237b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: test xattr acls</title>
<updated>2020-02-29T19:38:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-02-29T19:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fdfaa849f8ea2fc6687aa13a7057b5088e3c65e5'/>
<id>urn:sha1:fdfaa849f8ea2fc6687aa13a7057b5088e3c65e5</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/453
</content>
</entry>
<entry>
<title>tests: use /var/tmp by default</title>
<updated>2019-10-06T19:53:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T19:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8c4429408716d9890a98a48c246d616dbfea7e31'/>
<id>urn:sha1:8c4429408716d9890a98a48c246d616dbfea7e31</id>
<content type='text'>
On Fedora, /tmp is tmpfs, which behaves differently than ext4
(inode numbers are never reused, for example).

Use /var/tmp, which is ext4 on Fedora, to get a more realistic
test environment.

This also allows us to drop the xattr workaround.
</content>
</entry>
<entry>
<title>fusefrontend: Allow to set/remove xattr on directory without read permission.</title>
<updated>2019-01-05T11:34:40+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-05T03:33:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5055f39bd534b1f13257f95ffdc28575b9b2e3ed'/>
<id>urn:sha1:5055f39bd534b1f13257f95ffdc28575b9b2e3ed</id>
<content type='text'>
Setting/removing extended attributes on directories was partially fixed with
commit eff35e60b63331e3e10f921792baa10b236a721d. However, on most file systems
it is also possible to do these operations without read access (see tests).

Since we cannot open a write-access fd to a directory, we have to use the
/proc/self/fd trick (already used for ListXAttr) for the other operations aswell.
For simplicity, let's separate the Linux and Darwin code again (basically revert
commit f320b76fd189a363a34bffe981aa67ab97df3362), and always use the
/proc/self/fd trick on Linux. On Darwin we use the best-effort approach with
openBackingFile() as a fallback.

More discussion about the available options is available in
https://github.com/rfjakob/gocryptfs/issues/308.
</content>
</entry>
<entry>
<title>fusefrontend: fix setting xattrs on directories</title>
<updated>2019-01-04T21:22:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-04T21:22:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=eff35e60b63331e3e10f921792baa10b236a721d'/>
<id>urn:sha1:eff35e60b63331e3e10f921792baa10b236a721d</id>
<content type='text'>
Directories cannot be opened read-write. Retry with RDONLY.
</content>
</entry>
<entry>
<title>tests: xattr: set on 0200 file, list on 0000 file</title>
<updated>2019-01-02T19:45:55+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T19:45:55+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d269c28d169cdf071acf57d283b756cde2b6437f'/>
<id>urn:sha1:d269c28d169cdf071acf57d283b756cde2b6437f</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/308
</content>
</entry>
<entry>
<title>tests: better error message for TestBase64XattrRead</title>
<updated>2019-01-02T15:55:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T15:55:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=55a27a47dfb61cf553cf499802d614926b3b8a72'/>
<id>urn:sha1:55a27a47dfb61cf553cf499802d614926b3b8a72</id>
<content type='text'>
Make clear what we have and what we want.
</content>
</entry>
<entry>
<title>fusefrontend: xattr: fix hang on FIFOs</title>
<updated>2019-01-01T15:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-12T21:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=60e7a0ca9f2a2bcf8a727f606db134d60e9a5e18'/>
<id>urn:sha1:60e7a0ca9f2a2bcf8a727f606db134d60e9a5e18</id>
<content type='text'>
An Open() a fifo blocks until it is opened for writing.
This meant that xattr operations on FIFOs would block.
Pass O_NONBLOCK to fix that, and add a test.
</content>
</entry>
<entry>
<title>fusefrontend: make GetXAttr() symlink-safe on Linux</title>
<updated>2019-01-01T15:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-11T16:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2286372603f506cf719654a9901de0749c544b12'/>
<id>urn:sha1:2286372603f506cf719654a9901de0749c544b12</id>
<content type='text'>
Uses the /proc/self/fd trick, which does not work
on Darwin.
</content>
</entry>
<entry>
<title>tests: add Flistxattr/Fgetxattr/Fremovexattr tests</title>
<updated>2019-01-01T15:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-11T14:48:39+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b97d7d1d33d1274c6872d899692a56bd4070a6d9'/>
<id>urn:sha1:b97d7d1d33d1274c6872d899692a56bd4070a6d9</id>
<content type='text'>
Test for the upcoming fd-based xattr support.
</content>
</entry>
</feed>
