develooper Front page | perl.perl6.users | Postings from June 2018

Re: need mkdir, chown, chmod, del

Thread Previous | Thread Next
From:
Brandon Allbery
Date:
June 3, 2018 17:51
Subject:
Re: need mkdir, chown, chmod, del
Message ID:
CAKFCL4XD=YYKNoOHiobApCXfb-3YQsaum5fAFw84jkAg2wJkOg@mail.gmail.com
I imagine that'e because it's nearly impossible to implement portably: Unix
and Windows do different things here. In particular, Unix chown() also sets
the group owner, but Windows has no such concept.

On Sun, Jun 3, 2018 at 1:47 PM ToddAndMargo <ToddAndMargo@zoho.com> wrote:

> On 06/03/2018 10:08 AM, ToddAndMargo wrote:
> >>> On Sun, Jun 3, 2018 at 1:05 PM ToddAndMargo <ToddAndMargo@zoho.com
> >>> <mailto:ToddAndMargo@zoho.com>> wrote:
> >>>
> >>>     Hi All,
> >>>
> >>>     I need the Perl6 commands for the following LINUX
> >>>     commands.
> >>>
> >>>     mkdir      make directory
> >>>     chown      change ownership
> >>>     chmod      change file mode bits
> >>>     del        delete file
> >>>
> >>>
> >>>     Many thanks,
> >>>     -T
> >
> > On 06/03/2018 10:06 AM, Brandon Allbery wrote:
> >> Same answer: https://docs.perl6.org/type/IO::Path is where all the
> >> path-related things live.
> >
> > Thank you!
>
> Ah poop!  Can't find "chown"
>


-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About