umask side-effect

huakaibird發表於2007-05-11

When we deploy production today, a strange problem comes out.

When accessing the url, tell Can't locate loadable object for module DBI in @INC. First, we think it is the DBI install problem, but after install several time, it has no use.

Then we find the umask is 077, so when we install, the dir will be 700, so it can not be access by regular user through http. So we should change umask to 022 before we install.

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/545828/viewspace-914540/,如需轉載,請註明出處,否則將追究法律責任。