README

Sys::Chown

A port of Perl's File::Chown to Raku, using Lizmat's Butterfly project

Installing

The usual

zef install Sys::Chown

Running

use Sys::Chown;
#Taken verbatim from File::Chown

# chown by user-/group names
chown "ujang", "ujang", @files;
# numeric ID's still work
chown -1, 500, "myfile.txt";
# option: use a reference file's owner/group instead of specifying directly,
# like the Unix chown command's --reference=FILE.
chown({ref => "/etc/passwd"}, "mypasswd");

License

Licensed under the Artistic 2.0 License (the same as Raku itself).

Sys::Chown v0.0.2

Better chown, ported from Perl's File::Chown

Authors

  • JJ Merelo

License

Artistic-2.0

Dependencies

P5getpwnamP5getgrnamUNIX::Privileges:ver<0.1.4+>File::Stat

Test Dependencies

Provides

  • Sys::Chown

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.