[Chicago-talk] chown inside a script

Jonathan Rockway jon at jrock.us
Wed Dec 5 15:19:42 PST 2007


On Wed, 2007-12-05 at 15:58 -0600, Andy Lester wrote:
> system( 'chown', 'whoever', glob( '/home/blah/blah/whatever*' ) );

BTW, chown is a builtin function:

  chown $uid, $gid, </path/to/files/*>

Regards,
Jonathan Rockway

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20071205/26191231/attachment.bin 


More information about the Chicago-talk mailing list