Re: How to copy and keep file permissions

2002-02-20 Thread Craig Eberly
Hmm, I've tried this but it doesn't seem to change the file permissions at all on the backup file. I checked into it, and my stat command or $mode in this case is equal to 33261. Is that a normal output for the mode in the stat command? I'm on a Solaris 8 system. Thanks, Craig (Sorry if the

How to copy and keep file permissions

2002-02-16 Thread Craig Eberly
Hey, any help would be appreciated. I just wanted to make a simple backup script to backup any file i specified quickly.. and eventually let it accept options and whatnot for directories, but right now, I'm just trying to get it to keep the file permissions of the original file. I'm using File::C