DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cp: utimes: bar: Permission denied


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Apr 2009 20:08:38 -0700 (PDT)

:Hi,
:
:with recent head the following does not work:
:
:touch foo
:chmod 444 foo
:cp -p foo bar
:
:I get
:cp: utimes: bar: Permission denied
:
:Something similar seems to happen during "make dist" in an
:autoconf/automake project.
:
:Cheers,
:Johannes

    Hmm.  Well, the utimes manual page implies that utimes should
    succeed if you own the file, even if you do not have write access.

    I'll have to augment our access checks slightly to fix this.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]