jonathan wrote:
guess I should have given an example. I have a cron job that backups a data directory and the tar file has the following permissions -rw-r--r-- and I would like to drop the 'other' read. I could just issue a chmod, but I would have to do this for every cron job, I just figured I could change the umask and that would take care of all.
That's an entire different story indeed. But the logic is still very easy and straightforward: The permissions are kept within in the file. So you need to check on the tool -in this case tar- to see if it allows for on-the-fly file permissions change. So it's back to the manapges... Koos Pol ---------------------------------------------------------------------- S.C. Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/