<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v1.5</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2018-06-07T20:50:30+00:00</updated>
<entry>
<title>main: accept -dev, -nodev, -suid, -nosuid, -exec, -noexec</title>
<updated>2018-06-07T20:50:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-07T20:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=53d6a9999dd0e4c31636d16179f284fff35a35d9'/>
<id>urn:sha1:53d6a9999dd0e4c31636d16179f284fff35a35d9</id>
<content type='text'>
When mounted via /etc/fstab like this,

  /a /b fuse.gocryptfs default 0 0

we always get extra options passed. As reported by @mahkoh
at https://github.com/rfjakob/gocryptfs/pull/233 :

  mount passes `-o noexec` if `-o user` is set and `-o exec` is not set.
  If both `-o user` and `-o exec` are set, it passes `-o exec`.

Make these options work, and in addtion, also make -suid and -rw
work the same way.

Reported-by: @mahkoh
</content>
</entry>
<entry>
<title>main: make prefixOArgs errors testable</title>
<updated>2018-06-05T19:02:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-05T19:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e29a81efc3df88b451a4a9464724a952d97b4115'/>
<id>urn:sha1:e29a81efc3df88b451a4a9464724a952d97b4115</id>
<content type='text'>
By returning an error instead of calling os.Exit,
error cases can be tested easily. Error cases
were not tested until now.
</content>
</entry>
<entry>
<title>xattr: use LGet/LSet etc</title>
<updated>2018-05-27T18:09:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-27T18:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ae02ca1ded252262a5d727de9b9b4be278e60ba2'/>
<id>urn:sha1:ae02ca1ded252262a5d727de9b9b4be278e60ba2</id>
<content type='text'>
Support has been merged into the xattr package
( https://github.com/pkg/xattr/pull/29 ), use it.
</content>
</entry>
<entry>
<title>tests: add "mv broken symlink" test</title>
<updated>2018-05-17T21:14:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-17T21:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=44caf21debd445623fb481827fae6fc8a5eb911d'/>
<id>urn:sha1:44caf21debd445623fb481827fae6fc8a5eb911d</id>
<content type='text'>
This currently fails because we do not use llistxattr
yet.
</content>
</entry>
<entry>
<title>xattr: return EOPNOTSUPP for unsupported attributes</title>
<updated>2018-05-15T21:00:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-15T21:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7b0068180772b9dd7e0b00ca9e1b0f3ce39c9c23'/>
<id>urn:sha1:7b0068180772b9dd7e0b00ca9e1b0f3ce39c9c23</id>
<content type='text'>
mv is unhappy when we return EPERM when it tries to set
system.posix_acl_access:

   mv: preserving permissions for ‘b/x’: Operation not permitted

Now we return EOPNOTSUPP like tmpfs does and mv seems happy.
</content>
</entry>
<entry>
<title>fsck: update testcases with binary xattrs</title>
<updated>2018-05-10T21:26:00+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-10T21:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f7a6f4d46858dcd049bcf671509bdf42e5d26d09'/>
<id>urn:sha1:f7a6f4d46858dcd049bcf671509bdf42e5d26d09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xattr: optimize storage, store as binary instead of bae64</title>
<updated>2018-05-10T21:25:49+00:00</updated>
<author>
<name>Bolshevik</name>
</author>
<published>2018-05-07T20:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a41ec2028cf2ad24eafb531d661ea1fe0f751f39'/>
<id>urn:sha1:a41ec2028cf2ad24eafb531d661ea1fe0f751f39</id>
<content type='text'>
Values a binary-safe, there is no need to base64-encode them.

Old, base64-encoded values are supported transparently
on reading. Writing xattr values now always writes them binary.
</content>
</entry>
<entry>
<title>tests: example_filesystems: create a private copy in /tmp</title>
<updated>2018-05-04T20:27:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-04T20:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fc8fca04a8139de3683afb9c7c354dbbb151e490'/>
<id>urn:sha1:fc8fca04a8139de3683afb9c7c354dbbb151e490</id>
<content type='text'>
The tests write to the example_filesystems folder, which
1) May leave your source tree in a modified state
2) Triggers test failures when the fsck tests run concurrently,
   which happens on Travis CI every now and then.

Fix both problem by copying the example_filesystems folder
to a private location in /tmp.
</content>
</entry>
<entry>
<title>tests: helpers: fix a few error reports</title>
<updated>2018-04-27T18:19:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-27T18:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef'/>
<id>urn:sha1:996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef</id>
<content type='text'>
These were using stale err values.
</content>
</entry>
<entry>
<title>Fix the easy golint warnings</title>
<updated>2018-04-08T18:26:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-08T18:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bcc8378a2c07476a43c1fe316b79590177ded3d3'/>
<id>urn:sha1:bcc8378a2c07476a43c1fe316b79590177ded3d3</id>
<content type='text'>
Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs
</content>
</entry>
</feed>
