bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#249177: coreutils: chown is not POSIXLY_CORRECT even when the va


From: Jim Meyering
Subject: Re: Bug#249177: coreutils: chown is not POSIXLY_CORRECT even when the variable is set
Date: Sat, 15 May 2004 21:09:50 +0200

Michal Politowski <address@hidden> wrote:
> Package: coreutils
> Version: 5.0.91-2
> Severity: normal
>
> chown user symlink
> will change the owner of the symbolic link itself, not the file it is
> pointing to.
> Using the option --dereference is necessary to change the owner of the file.
> Setting POSIXLY_CORRECT doesn't change this, and POSIX mandates changing
> owner of the file not the link unless -h option is specified.

Thanks for reporting that.
POSIX does seem to require that chown's --dereference behavior
be the default.  I'll probably change it for the next upstream
coreutils release.

The same applies to chgrp.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]