<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/chmod.c, branch v6.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-12-14T10:14:25Z</updated>
<entry>
<title>* NEWS: --preserve-root now works with chgrp, chmod, and chown.</title>
<updated>2006-12-14T10:14:25Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-12-14T10:09:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=24852bf5b5e7fd954f2e4d1d08d58575453b48b0'/>
<id>urn:sha1:24852bf5b5e7fd954f2e4d1d08d58575453b48b0</id>
<content type='text'>
* src/chmod.c (process_file): Do honor the --preserve-root option.
* src/chown-core.c (change_file_owner): Likewise, but here, also
handle the case in which a traversal would go "through" a symlink
to root.  Reported by Matthew M. Boedicker
* tests/chown/preserve-root: Test for the above.
* tests/chown/Makefile.am (TESTS): Add preserve-root.
</content>
</entry>
<entry>
<title>Fix the 2006-09-18 bug differently.</title>
<updated>2006-09-20T11:50:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-09-20T11:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=05ce3b298641e2ccc5f668e9e769644371090b80'/>
<id>urn:sha1:05ce3b298641e2ccc5f668e9e769644371090b80</id>
<content type='text'>
* src/chmod.c: (process_file): Upon FTS_NS for a top-level file,
tell fts_read to stat the file again, in case it has become
accessible since the initial fts_open call.
* src/chown-core.c (change_file_owner): Likewise.
</content>
</entry>
<entry>
<title>* src/chmod.c: Revert last change.  There is a better way.</title>
<updated>2006-09-20T11:26:18Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-09-20T11:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1671b056a54d1148205801b1faa37abb1bb5467a'/>
<id>urn:sha1:1671b056a54d1148205801b1faa37abb1bb5467a</id>
<content type='text'>
* src/chown-core.c: Likewise.
</content>
</entry>
<entry>
<title>Fix bug where chmod, chown, and chgrp did not process operands</title>
<updated>2006-09-18T22:09:49Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-18T22:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0e3b87195ab0820d228cda986ac916d52b696aff'/>
<id>urn:sha1:0e3b87195ab0820d228cda986ac916d52b696aff</id>
<content type='text'>
left-to-right in some cases.
* src/chmod.c (wd_errno): New var.
(chmod_file): New function, with most of the contents of the
old prcess_file function.
(process_files): Use it.  This gives file names to fts one
at a time, so that they are processed left-to-right as POSIX
requires.
* src/chown-core.c (wd_errno, chown_files): Likewise.
(chown_file): New function.
* tests/install/basic-1: Redo test so as to not workaround
the chmod bug, thereby testing for it.
</content>
</entry>
<entry>
<title>Don't include dirname.h, since system.h does it now.</title>
<updated>2006-09-03T02:53:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-03T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d8049d74780e587525622f69219243097a13861b'/>
<id>urn:sha1:d8049d74780e587525622f69219243097a13861b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(process_file): Adjust to mode_adjust API change.</title>
<updated>2006-07-17T03:09:26Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-17T03:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8401b6ae54fed6dcfcfa68b80c3ec9a05848d343'/>
<id>urn:sha1:8401b6ae54fed6dcfcfa68b80c3ec9a05848d343</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(main): Use FTS_PHYSICAL here, too.</title>
<updated>2006-05-20T17:27:07Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-05-20T17:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ae5d9079f99a2957141513ff577c9227f75b9749'/>
<id>urn:sha1:ae5d9079f99a2957141513ff577c9227f75b9749</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(describe_change): Adjust to filemode changes.</title>
<updated>2006-04-17T23:22:51Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-04-17T23:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=137de3d3b6b79c19088e0c15c0157a26dd1dcd57'/>
<id>urn:sha1:137de3d3b6b79c19088e0c15c0157a26dd1dcd57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Now that fts no longer changes the current working directory, adjust</title>
<updated>2006-01-17T17:25:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-01-17T17:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c97a36e2d9ff86871bf40b2670149f647ccc958a'/>
<id>urn:sha1:c97a36e2d9ff86871bf40b2670149f647ccc958a</id>
<content type='text'>
its clients accordingly -- note that du.c uses fts but doesn't need
any adjustment, since it doesn't operate on the actual files,
but rather just uses the stat buffers provided by fts.

Include "openat.h".
(process_file): Use chmodat (fts-&gt;fts_cwd_fd,... in place of chmod (...
</content>
</entry>
<entry>
<title>(main): Use X2REALLOC rather than x2realloc.</title>
<updated>2005-06-29T16:27:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-06-29T16:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fdbdfd5b62feb39ba23f5361f5d55fac912b9eea'/>
<id>urn:sha1:fdbdfd5b62feb39ba23f5361f5d55fac912b9eea</id>
<content type='text'>
</content>
</entry>
</feed>
