If you mean "at file creation-time" with "at the same time", set the umask of the executing user to your liking.
otherwise, if modifying the permissions after file-creation is sufficient, have a look at chmod
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
In reply to Re: Setting permissions as text file is created
by Tomte
in thread Setting permissions as text file is created
by Hissingsid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |