<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/lib.rs, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-23T18:15:42Z</updated>
<entry>
<title>Run maint/add_warning crates/*/src/{lib,main}.rs</title>
<updated>2022-06-23T18:15:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-23T18:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c'/>
<id>urn:sha1:589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c</id>
<content type='text'>
Update all lint blocks
</content>
</entry>
<entry>
<title>Merge branch 'better-fs-mistrust-badpermissions-string' into 'main'</title>
<updated>2022-06-02T11:15:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-06-02T11:15:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2d8dac1ce7dcfe574d8ef2e9169adee89411371'/>
<id>urn:sha1:c2d8dac1ce7dcfe574d8ef2e9169adee89411371</id>
<content type='text'>
fs-mistrust: Improve BadPermission string

See merge request tpo/core/arti!554</content>
</entry>
<entry>
<title>Merge branch 'lint' into 'main'</title>
<updated>2022-05-31T18:27:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-05-31T18:27:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98ccd7e7e2b2261009d2a2fb03e045513ef7ec85'/>
<id>urn:sha1:98ccd7e7e2b2261009d2a2fb03e045513ef7ec85</id>
<content type='text'>
lints: Make lint blocks consistent and ensure they stay that way

Closes #469

See merge request tpo/core/arti!557</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: BadPermission(_, _) -&gt; BadPermission(..)</title>
<updated>2022-05-31T18:15:03Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-31T18:15:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=201107906ccbb00e96b27ac19108f46b85d278f7'/>
<id>urn:sha1:201107906ccbb00e96b27ac19108f46b85d278f7</id>
<content type='text'>
Next commit adds another parameter to Error::BadPermission.
</content>
</entry>
<entry>
<title>lints: Add let_unit_value allow to all crates</title>
<updated>2022-05-31T14:23:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-31T10:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f42101554822c44782c164cac0051e3b4055abd'/>
<id>urn:sha1:4f42101554822c44782c164cac0051e3b4055abd</id>
<content type='text'>
From running add_warning, with manual picking of the right
hunks/lines.
</content>
</entry>
<entry>
<title>lints: Add lint block delimiters to every crate</title>
<updated>2022-05-31T12:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-30T17:43:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba0843da4a7ba1e63846a286b870b893092e0a4f'/>
<id>urn:sha1:ba0843da4a7ba1e63846a286b870b893092e0a4f</id>
<content type='text'>
This was the result of:
  maint/add_warning crates/*/src/{lib,main}.rs
and then manually curating the results.
</content>
</entry>
<entry>
<title>mistrust: Canonicalise prefix from Some("") to None</title>
<updated>2022-05-30T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-27T16:10:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a324f843fdeadffa7f9fab381b4911563b2d8af'/>
<id>urn:sha1:0a324f843fdeadffa7f9fab381b4911563b2d8af</id>
<content type='text'>
This allows us to add the proper default example to the arti example
config file.
</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>Make fs-mistrust configurable from the top level.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-23T15:31:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1fc4bd03bb4024cd5a467ccb682e88adf30bac7'/>
<id>urn:sha1:b1fc4bd03bb4024cd5a467ccb682e88adf30bac7</id>
<content type='text'>
This change requires a little refactoring of TorClientBuilder: now,
instead of enabling or disabling mistrust, it enables or disables
the decision to _override_ the mistrust in the config.
</content>
</entry>
</feed>
