[rhelv6-list] file permissions contains dot in rhel6

Collins, Kevin [BEELINE] KCollins at chevron.com
Wed Dec 8 18:30:27 UTC 2010


Well, scripting around the "permission string" of ls -l is not something
I typically do, but that string is pretty much the same on every
platform I have worked on... until now :) 

But I would not be surprised to see this change breaking scripts that
others have.

Kevin

-----Original Message-----
From: rhelv6-list-bounces at redhat.com
[mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Chris Adams
Sent: Wednesday, December 08, 2010 9:01 AM
To: rhelv6-list at redhat.com
Subject: Re: [rhelv6-list] file permissions contains dot in rhel6

Once upon a time, Collins, Kevin [BEELINE] <KCollins at chevron.com> said:
> That's great for Linux, but it doesn't make for very portable
scripting
> since stat is not on all flavors of Unix... :)

Well, the output format of "ls" is hardly portable either, so you've
already got to be scripting around that.  You could always use perl...

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
rhelv6-list mailing list
rhelv6-list at redhat.com
https://www.redhat.com/mailman/listinfo/rhelv6-list




More information about the rhelv6-list mailing list