Welcome to the Monastery | |
PerlMonks |
strmode in Perl (convert octal permissions to symbolic)by afresh1 (Hermit) |
on Mar 27, 2011 at 21:28 UTC ( [id://895808]=CUFP: print w/replies, xml ) | Need Help?? |
In the opposite line of 'ls' with octal permissions, I had a need for strmode(3) while doing a perl rewrite of the OpenBSD's /etc/security. It was odd, but I couldn't find a BSD licensed port, it was fairly straightforward to do, but I wanted to put it here so others may be able to find it. I also have it in my CVS repository, so check there for updates.
update: fix from jwkrahn
l8rZ, -- andrew
Back to
Cool Uses for Perl
|
|