<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/chmod, branch release/8.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-01-30T14:47:23Z</updated>
<entry>
<title>MFC r196753:</title>
<updated>2010-01-30T14:47:23Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2010-01-30T14:47:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3736d570d36c11706b83ef33d3e8504079801544'/>
<id>urn:sha1:3736d570d36c11706b83ef33d3e8504079801544</id>
<content type='text'>
- Don't include both &lt;sys/types.h&gt; and &lt;sys/param.h&gt;

- Keep variables sorted

- Fix logic error with -f and -v options - don't print
  the usual -v output if there was an error, whether or not
  we were passed -f

- Don't call free(3) just before exit(2)

- Whitespace fixes

Submitted by:	bde
</content>
</entry>
<entry>
<title>MFC r196711:</title>
<updated>2010-01-30T14:40:42Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2010-01-30T14:40:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7ecc6d21d94358281f9e96e19c7ed9ed464e53b6'/>
<id>urn:sha1:7ecc6d21d94358281f9e96e19c7ed9ed464e53b6</id>
<content type='text'>
Make the code more readable and fix chmod(1) on symlinks with
NFSv4 enabled.
</content>
</entry>
<entry>
<title>With NFSv4 ACLs, it is possible that applying a mode to an ACL which</title>
<updated>2009-07-01T15:52:19Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2009-07-01T15:52:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=deda5987bc6e3a94f2ae3a854fa944b60ac5eca1'/>
<id>urn:sha1:deda5987bc6e3a94f2ae3a854fa944b60ac5eca1</id>
<content type='text'>
is identical to the mode computed from that ACL will modify the ACL.
For example, mode computed from the following ACL is 0600:

   user:kamila:rwx--------C--:------:allow
        owner@:--x-----------:------:deny
        owner@:rw-p---A-W-Co-:------:allow
        group@:rwxp----------:------:deny
        group@:--------------:------:allow
     everyone@:rwxp---A-W-Co-:------:deny
     everyone@:------a-R-c--s:------:allow

However, applying that mode (chmod 0600) changes the ACL into this:

   user:kamila:rwx-----------:------:deny
   user:kamila:rwx--------C--:------:allow
        owner@:--x-----------:------:deny
        owner@:rw-p---A-W-Co-:------:allow
        group@:rwxp----------:------:deny
        group@:--------------:------:allow
     everyone@:rwxp---A-W-Co-:------:deny
     everyone@:------a-R-c--s:------:allow

In chmod(1) utility, there is an optimisation, which makes it not
call chmod(2) if the mode of the file is the same as the new mode.
Disable that optimisation for files which may have NFSv4 ACLs.

Reviewed by:	rwatson
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Staticify internal routines.</title>
<updated>2009-06-23T23:30:56Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-06-23T23:30:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=431586a895fd61a880d939240d2b3dd1c24aac5d'/>
<id>urn:sha1:431586a895fd61a880d939240d2b3dd1c24aac5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the Monty Python quote more google friendly instead of</title>
<updated>2009-01-26T18:14:21Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2009-01-26T18:14:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b1785d44c05c1e0cf63eed1c12e44a2ff0af702'/>
<id>urn:sha1:1b1785d44c05c1e0cf63eed1c12e44a2ff0af702</id>
<content type='text'>
hacking it apart.

Discussed with:	Christoph Mallon &lt;christoph.mallon@gmx.de&gt;
</content>
</entry>
<entry>
<title>Note the implication of setting the 'w' permission on directories,</title>
<updated>2009-01-23T11:39:00Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2009-01-23T11:39:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cb30dc5538cbeb64714189635bd4e2de55b6e9b2'/>
<id>urn:sha1:cb30dc5538cbeb64714189635bd4e2de55b6e9b2</id>
<content type='text'>
while here, expand the 'naughty bits' comment in BUGS.

PR:		84265 and 84268
Reviewed by:	keramida
Obtained from:	hints from ceri, keramida
</content>
</entry>
<entry>
<title>- Mention umask(2) when first referring to it.</title>
<updated>2006-12-22T07:28:38Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-12-22T07:28:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dd8f42dc83277db680c9eb8f9c3a4f5148bfb06d'/>
<id>urn:sha1:dd8f42dc83277db680c9eb8f9c3a4f5148bfb06d</id>
<content type='text'>
- Add missing markup.

Submitted by:	Eugene Grosbein &lt;eugen@grosbein.pp.ru&gt;
</content>
</entry>
<entry>
<title>Expand contractions.</title>
<updated>2005-02-13T23:45:54Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-02-13T23:45:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=36a142c455a41172df398f10eb3e110ca29fbf72'/>
<id>urn:sha1:36a142c455a41172df398f10eb3e110ca29fbf72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the new standard EXIT STATUS section where appropriate.</title>
<updated>2005-01-16T16:41:59Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-16T16:41:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581'/>
<id>urn:sha1:6fca4c7c3f16b87ad8b9ffa6564f5654f44ed581</id>
<content type='text'>
Sort standard sections in the (documented) preferred order.
</content>
</entry>
<entry>
<title>/*- or .\"- or #- to begin license clauses.</title>
<updated>2005-01-10T08:39:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-10T08:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9ddb49cbe45441fa3f3a10f6dd355e9956480b5f'/>
<id>urn:sha1:9ddb49cbe45441fa3f3a10f6dd355e9956480b5f</id>
<content type='text'>
</content>
</entry>
</feed>
