develooper Front page | perl.beginners | Postings from April 2002

get file permissions?

Thread Next
From:
Bryan R Harris
Date:
April 1, 2002 10:29
Subject:
get file permissions?
Message ID:
OF14FAB19F.D72391CD-ON07256B8E.0064E360@rsc.raytheon.com

Is it possible to do the reverse of a chmod?  To get the permissions of a
given file as a number?

I'm creating a new file from an old one, and I'd like the new one to have
the same permissions as the old one.  Is this possible?

TIA.

- B



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