> I was wondering if there is a way to change the permissions on nohup.out
...
> nohup ls &
>
> produces 600 permissions
> I would like 644
>
> why isnt this set by the umask?

Because POSIX requires the current behavior.  It says:

    If a file is created, the file's
    permission bits shall be set to S_IRUSR | S_IWUSR.

But if you create the file first
(e.g. `rm -f nohup.out; touch nohup.out'),
nohup will be happy to append to it without changing
the umask-derived permissions.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils
  • nohup.out thomas . maciejewski
    • Jim Meyering

Reply via email to