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

Bug#732161: ITP: libfile-lchown-perl -- module to modify attributes of symlinks without dereferencing them



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libfile-lchown-perl
  Version         : 0.02
  Upstream Author : Paul Evans <leonerd@leonerd.org.uk>
* URL             : https://metacpan.org/release/File-lchown
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : module to modify attributes of symlinks without dereferencing them

The regular chown system call will dereference a symlink and apply ownership
changes to the file at which it points. Some OSes provide system calls that
do not dereference a symlink but instead apply their changes directly to the
named path, even if that path is a symlink (in much the same way that lstat
will return attributes of a symlink rather than the file at which it points).

File::lchown provides a wrapper around those system calls.


Reply to: