bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nohup.out


From: Jim Meyering
Subject: Re: nohup.out
Date: Fri, 16 Jan 2004 18:39:25 +0100

> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]