Re: user and group of a file?
On Tue, Sep 26, 2017 at 11:02 AM, Parrot Raiser <1parr...@gmail.com> wrote: > This is the capability provided by Perl 5's "stat". Would a clone with > the same properties and behaviours be the right thing, or are there > "features" to fix? Same features, probably. It is just one of those things that is poorly portable to Windows, so doesn't belong in the core. There should also be a corresponding Windows module that matches Windows APIs instead of trying to force it to look like Unix (which is what perl 5 does). -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
Re: user and group of a file?
This is the capability provided by Perl 5's "stat". Would a clone with the same properties and behaviours be the right thing, or are there "features" to fix? On 9/26/17, Brandon Allberywrote: > On Tue, Sep 26, 2017 at 2:11 AM, ToddAndMargo > wrote: > >> Does Perl 6 have one of those fancy subs that will tell me >> the user and group association of a file? Or do I just >> make a system call to "ls"? >> > > At the moment you'll have to use ls. There's an ecosystem want out for a > POSIX support module with this functionality; the core sticks to portable > operations, and user and group information is different on Windows > (notably: the ownership information is SIDs / UUIDs, and it's not so much > like Unix groups defined by its members as it is an ACL defined by logical > operations). > > -- > brandon s allbery kf8nh sine nomine > associates > allber...@gmail.com > ballb...@sinenomine.net > unix, openafs, kerberos, infrastructure, xmonad > http://sinenomine.net >
Re: user and group of a file?
On Tue, Sep 26, 2017 at 2:11 AM, ToddAndMargowrote: > Does Perl 6 have one of those fancy subs that will tell me > the user and group association of a file? Or do I just > make a system call to "ls"? > At the moment you'll have to use ls. There's an ecosystem want out for a POSIX support module with this functionality; the core sticks to portable operations, and user and group information is different on Windows (notably: the ownership information is SIDs / UUIDs, and it's not so much like Unix groups defined by its members as it is an ACL defined by logical operations). -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
user and group of a file?
Dear list, Does Perl 6 have one of those fancy subs that will tell me the user and group association of a file? Or do I just make a system call to "ls"? Many thanks, -T