mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Removed the call to os.umask, which gained nothing and caused some problems (ones that I haven't quite figured out)
This commit is contained in:
parent
b59742dd35
commit
90d199b86d
@ -250,7 +250,9 @@ if __name__ == '__main__':
|
|||||||
fork()
|
fork()
|
||||||
os.setsid()
|
os.setsid()
|
||||||
# What the heck does this do? I wonder if it breaks anything...
|
# 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):
|
# 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
|
# 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.
|
# bot directories, so they won't be able to be unmounted anyway.
|
||||||
|
Loading…
Reference in New Issue
Block a user