On 07/19/2012 06:10 PM, Jared Henley wrote:
> Is there some security reason why the permissions fall back to 600 when the
>
> chown fails

Absolutely.  The user has indicated the desire for
a file to be owned by U with permissions P, but
as chown failed the file is owned by V, where V is
not U.  In that case, changing the file's permissions
to P would grant access to people who would not have
access if the user's request could be satisfied.

Presumably the --preserve option could be used
to get the behavior you want.



Reply via email to