Roundup Tracker - Issues

Issue 800719

classification
0077 as umask
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : calvin, richard
Priority: normal : patch

Created on 2003-09-04 21:40 by calvin, last changed 2003-09-05 07:07 by calvin.

Files
File name Uploaded Description Edit Remove
05_roundup_server_umask.dpatch calvin, 2003-09-04 21:40
Messages
msg2651 Author: [hidden] (calvin) Date: 2003-09-04 21:40
use umask value 0077 instead of 0.
msg2652 Author: [hidden] (richard) Date: 2003-09-04 23:32
Logged In: YES 
user_id=6405

Why 0077 and not 0007? It's quite possible that users would run 
Roundup's various programs with group permissions. 
 
Any argument there? 
msg2653 Author: [hidden] (calvin) Date: 2003-09-05 07:07
Logged In: YES 
user_id=9205

It depends on your "new file" policy. Generally I don't like
generating group-writeable files as default, it happened to
me once that I generated a config file which got executed
and it had group write permissions for the whole "user"
group. Not good, at least not what I wanted.
I usually generate a new file with umask 0077 or 0057 and
then if groups must have additional (write) permissions I
call chmod on the new files.

Now, back to roundup: when or for what purpose new files are
generated by the roundup tools I do not know, so I think it
is best if you decide which umask is needed.
History
Date User Action Args
2003-09-04 21:40:41calvincreate