Hi.
>
> When a file gets created on a UNIX system, the permissions are determined
> by two things: umask, and requested permissions. Various solutions can
> be devised based on changing one of these parameters -- if you tell
> us why you need this, maybe we could be of more help.
I'm using an internal program that creates local files on the system in a
predefined directory (for example, log files, etc). This application writes
files using the default umask (as you both explained), but I want it to have
a different umask then the default (for example, give o+r when the default
umask is different). I don't care much about ownership, so that's not an
issue.
I'd rather not modify the application itself, and not wrap it with scripts.
The best solution would be to somehow change the umask of the *directory*
without affecting the global umask.
I was hoping there would be a simple and straightforward way to do it under
UNIX...
Any ideas?
- Aviram
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]