Menu

#20 Umask

open
nobody
None
5
2002-09-30
2002-09-30
Anonymous
No

I had some problems when my webserver was
changed recently - eventually tracked it down to them
having a more restrictive default script umask.

However this meant that any new data created by the
script was inaccesible to the web server (the script
was being run as my login, but the webserver is a
different username so needs everyone read privalages)

The problem was solved by adding

umask 022;

near the top of idsShared.pm (there's probably a
better place for it though)

Perhaps there should be a way of changing the umask
through the admin interface, with a default of 022 so
that this problem can be avoided?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.