[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Specify permissions, owner, and group of newly created files
- Subject: [ale] Specify permissions, owner, and group of newly created files
- From: esoteric at 3times25.net (Geoffrey)
- Date: Wed Sep 1 16:57:21 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
Rick Huebner wrote:
> I've always wondered how to make new files created in a directory be created
> with a specific permission, owner, and group. Right now, I have a series of
> cron jobs that run to change the permissions in several directories each
> hour. Is there any way on a per directory basis to do this?
There's a number of ways to deal with this, from setting the perms on
the directories to using the umask command. Check out:
man chmod
man umask
--
Until later, Geoffrey Registered Linux User #108567
AT&T Certified UNIX System Programmer - 1995