> Is it possible to do the reverse of a chmod? Yes
> To get the permissions of a given file as a number? Same question twice! > 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? Same question trice! You wanted to ask "If so, how?" :) Which is answered by: perldoc -f stat Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]