Re: [viewvc-users] Verify lib directory permissions post-install or upon execution
"C. Michael Pilato" <[email protected]> Tue, 27 Jan 2015 10:20:32 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 01/26/2015 10:03 PM, Mathew Crane wrote: > Hello - > > On a server with a default umask of 077, the viewvc.cgi fails with a > 'sapi Import error'. It was due to the script not having proper > permissions to the viewvc install directory. It's a fairly simple > issue, but would it make sense to have some sort of validation or > logic in the cgi to ensure that the lib directory is accessible on top > of the current validation ensuring it exists? > > If not, maybe a note in the FAQ to mention umask settings as a > potential trip up may help point people in the proper direction. Thanks for the note, Mathew. I'm not sure adding permission-checking validation to every execution of the CGI script is necessary ... yours certainly isn't the most common maching configuration. :-) But a FAQ item might be useful. I'll see what I can whip up. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3094810 To unsubscribe from this discussion, e-mail: [[email protected]].