Query: lchown
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Lchown(3pm) User Contributed Perl Documentation Lchown(3pm)NAMELchown - use the lchown(2) system call from PerlSYNOPSISuse Lchown; lchown $uid, $gid, 'foo' or die "lchown: $!"; my $count = lchown $uid, $gid, @filenames; # or use Lchown qw(lchown LCHOWN_AVAILABLE); warn "this system lacks the lchown system call " unless LCHOWN_AVAILABLE; ... # or use Lchown (); warn "this won't work " unless Lchown::LCHOWN_AVAILABLE; Lchown::lchown $uid, $gid, 'foo' or die "lchown: $!";DESCRIPTIONProvides a perl interface to the "lchown()" system call, on platforms that support it.DEFAULT EXPORTSThe following symbols are exported be default: lchown (LIST) Like the "chown" builtin, but using the "lchown()" system call so that symlinks will not be followed. Returns the number of files successfully changed. On systems without the "lchown()" system call, "lchown" always returns "undef" and sets "errno" to "ENOSYS" (Function not implemented).ADDITIONAL EXPORTSThe following symbols are available for export but are not exported by default: LCHOWN_AVAILABLE () Returns true on platforms with the "lchown()" system call, and false on platforms without.SEE ALSO"chown" in perlfunc, lchown(2)AUTHORNick Cleaton <nick@cleaton.net>COPYRIGHT AND LICENSECopyright 2003-2009 Nick Cleaton, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-11-15 Lchown(3pm)
Related Man Pages |
---|
lchown(3) - linux |
chown(2) - osf1 |
fchown(2) - netbsd |
chown(2) - osx |
lchown(3) - php |
Similar Topics in the Unix Linux Community |
---|
Chown problem |
FTP Getting a Folder |
How to zip file in AIX with password. |
Combine Both Output from the awk Script |