Is it possible to open/create a file with open that does not exist and give it a umask that makes it executable, say for the purpose of generating shell scripts?
For example, say open OUT_FILE, MAGIC_UMASK, "/scripts/new_script"; where the current umask is 2. Is the only option to chmod the file after it has been created? Thanks for any help. -Ken ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]