From 90d199b86d4b7f6f24f119fcccaa20a10eb634a9 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 25 May 2005 05:19:10 +0000 Subject: [PATCH] Removed the call to os.umask, which gained nothing and caused some problems (ones that I haven't quite figured out) --- scripts/supybot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/supybot b/scripts/supybot index d4e16adfb..2a0faca1c 100644 --- a/scripts/supybot +++ b/scripts/supybot @@ -250,7 +250,9 @@ if __name__ == '__main__': fork() os.setsid() # What the heck does this do? I wonder if it breaks anything... - os.umask(0) + # ...It did. I don't know why, but it seems largely useless. It seems + # to me reasonable that we should respect the user's umask. + #os.umask(0) # Let's not do this for now (at least until I can make sure it works): # Actually, let's never do this -- we'll always have files open in the # bot directories, so they won't be able to be unmounted anyway.