<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend/file2_setattr.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2020-08-16T10:50:33+00:00</updated>
<entry>
<title>v2api: rename "File2" to just "File"</title>
<updated>2020-08-16T10:50:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-08-16T10:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ee5ab1cc29c6f5ff6061a88b742d5ff88de40802'/>
<id>urn:sha1:ee5ab1cc29c6f5ff6061a88b742d5ff88de40802</id>
<content type='text'>
Rename the symbols and the files.
</content>
</entry>
<entry>
<title>v2api: properly implement Node.Setattr</title>
<updated>2020-07-12T18:17:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-12T18:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0fa824933cfc8788450138a2d2e52c3dea2e592f'/>
<id>urn:sha1:0fa824933cfc8788450138a2d2e52c3dea2e592f</id>
<content type='text'>
We used to always open a *File2 and letting the *File2
handle Setattr. This does not work it we cannot open the file!

Before:

    $ go test
    2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT
    2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT
    --- FAIL: TestLchown (0.00s)
        matrix_test.go:634: lchown /tmp/gocryptfs-test-parent-1026/014500839/default-plain/symlink: too many levels of symbolic links
    touch: setting times of '/tmp/gocryptfs-test-parent-1026/014500839/default-plain/utimesnano_symlink': Too many levels of symbolic links
    --- FAIL: TestUtimesNanoSymlink (0.00s)
        matrix_test.go:655: exit status 1
    --- FAIL: TestMkfifo (0.00s)
        matrix_test.go:755: file exists
    --- FAIL: TestMagicNames (0.00s)
        matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs"
        matrix_test.go:773: Testing n="gocryptfs.diriv"
        matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/014500839/default-plain/linktarget: permission denied
    --- FAIL: TestChmod (0.00s)
        matrix_test.go:840: chmod 444 -&gt; 000 failed: permission denied
        matrix_test.go:840: chmod 444 -&gt; 111 failed: permission denied
        matrix_test.go:840: chmod 444 -&gt; 123 failed: permission denied
        matrix_test.go:840: chmod 444 -&gt; 321 failed: permission denied
    FAIL
    exit status 1
    FAIL	github.com/rfjakob/gocryptfs/tests/matrix	0.790s

After:

    $ go test
    --- FAIL: TestMkfifo (0.00s)
        matrix_test.go:755: file exists
    --- FAIL: TestMagicNames (0.00s)
        matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs"
        matrix_test.go:773: Testing n="gocryptfs.diriv"
        matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/501766059/default-plain/linktarget: permission denied
    --- FAIL: TestChmod (0.00s)
        matrix_test.go:849: modeHave 0644 != modeWant 0
    FAIL
    exit status 1
    FAIL    github.com/rfjakob/gocryptfs/tests/matrix   0.787s
</content>
</entry>
<entry>
<title>v2api: fix double-lock in truncate</title>
<updated>2020-07-12T11:13:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-12T11:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b1d631d432ea0a7158060c31de6dd4370d6606e8'/>
<id>urn:sha1:b1d631d432ea0a7158060c31de6dd4370d6606e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>v2api: implement Setattr</title>
<updated>2020-07-05T18:10:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-05T18:05:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=63f68a0fcd514b7cf96a485016c2db23c60c3405'/>
<id>urn:sha1:63f68a0fcd514b7cf96a485016c2db23c60c3405</id>
<content type='text'>
</content>
</entry>
</feed>
