<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/imp.rs, branch arti-1.2.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-08T20:32:07Z</updated>
<entry>
<title>fix fs-misstrust on android</title>
<updated>2022-08-08T20:32:07Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-08T20:32:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3cb5d27fb7970b391588c17da4277a5abdb79c64'/>
<id>urn:sha1:3cb5d27fb7970b391588c17da4277a5abdb79c64</id>
<content type='text'>
it would fail to link at runtime due to missing getgrnam_r in bionic

and then it would fail again because some directory is group writeable
</content>
</entry>
<entry>
<title>fix runtime issues on ios</title>
<updated>2022-07-30T13:42:37Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-07-30T13:17:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19a71534ec6f3f43462c197c9bb964e03356bded'/>
<id>urn:sha1:19a71534ec6f3f43462c197c9bb964e03356bded</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove dependancy 'users' on iOS</title>
<updated>2022-07-30T09:28:03Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-07-30T09:28:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68ad22a9852b242e6b87e21bdb51b538fbcd81bc'/>
<id>urn:sha1:68ad22a9852b242e6b87e21bdb51b538fbcd81bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: API to disable based on environment</title>
<updated>2022-07-19T19:21:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-15T16:08:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03b5efbd6e83d9e6c97f7b46507b1ad925566859'/>
<id>urn:sha1:03b5efbd6e83d9e6c97f7b46507b1ad925566859</id>
<content type='text'>
By default we look at `$FS_MISTRUST_DISABLE_PERMISSIONS_CHECKS`.

Optionally, the user can provide another variable as well, or
disable looking at the environment entirely.
</content>
</entry>
<entry>
<title>fs-mistrust: Improve BadPermission string</title>
<updated>2022-05-31T18:23:01Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-30T18:18:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc6b02045ee4e5515f0f057998ef257638bffaf4'/>
<id>urn:sha1:bc6b02045ee4e5515f0f057998ef257638bffaf4</id>
<content type='text'>
To me, "Incorrect permissions on file or directory /path: g=w o=w"
implies that the current permissions on /path are 022.

Change the message to "Incorrect permissions: /path is
u=rwx,g=rwx,o=rwx; need g-w,o-w", which is closer to chmod syntax and is
more useful in non-interactive environments such as CI and support.
</content>
</entry>
<entry>
<title>fs-mistrust: allow symlinks to have any permissions</title>
<updated>2022-05-25T14:27:45Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-24T20:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85b4b5620d294b27cdee01989d4f2a936f6f32f4'/>
<id>urn:sha1:85b4b5620d294b27cdee01989d4f2a936f6f32f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: rename fields</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T15:52:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baa58daace392eee68f8ff82841631e9114c9918'/>
<id>urn:sha1:baa58daace392eee68f8ff82841631e9114c9918</id>
<content type='text'>
This renaming will make things slightly simpler for declaring a
builder.
</content>
</entry>
<entry>
<title>Loosen checking for readable files within target directories.</title>
<updated>2022-05-09T18:40:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-09T16:01:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c33499f288c298c3db8dfc7725448db13427a36'/>
<id>urn:sha1:5c33499f288c298c3db8dfc7725448db13427a36</id>
<content type='text'>
If the target directory itself is unreadable by untrusted users,
then its contents can't be read[*] by them regardless of their
permissions.  If the target directory _is_ readable, then _it_ will
be rejected if we are forbidding readable objects.  (And if we
aren't we don't care if the contents are readable.)

A similar argument would apply to writable objects within an
unreadable target directory.  We're not making that argument, since
such contents are likelier to be a mistake.

[*] Unless they're hard-linked; see comments in "Limitations"
section.
</content>
</entry>
<entry>
<title>fs-mistrust: write a lot about TOCTOU issues.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-03T13:56:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f35b4881295f52c252236b151764e82dbcb3b332'/>
<id>urn:sha1:f35b4881295f52c252236b151764e82dbcb3b332</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: Add a dangerously_trust_everyone method.</title>
<updated>2022-05-03T14:03:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-02T15:35:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2087dde3a07a8d31c0625c2d36311e876c07a758'/>
<id>urn:sha1:2087dde3a07a8d31c0625c2d36311e876c07a758</id>
<content type='text'>
This helps make it possible to use `SecureDir` (name pending) even
when we want to disable permissions checks.  Otherwise, optional
permission checking would require users of this crate to maintain
separate code paths for the "check" and "don't check" cases.
</content>
</entry>
</feed>
