
bugs at lists
Sep 30, 2008, 1:51 PM
Post #3 of 6
(186 views)
Permalink
|
|
[Bug 1360] Permission denied errors on files in /comp
[In reply to]
|
|
http://bugs.bricolage.cc/show_bug.cgi?id=1360 --- Comment #1 from David Wheeler <david[at]kineticode.com> 2008-09-30 16:51:06 --- (In reply to comment #0) > While inst/files.pl does set some permissions, not all the files that should be > readable by the apache proces get the correct permissions. Probably every file > in /comp should be readable by the apache proces? > > [Tue Sep 30 14:49:55 2008] [error] [client 127.0.0.1] read_file: could not open > file '/usr/local/bricolage/comp/login/dhandler' for reading: Permission denied Bricolage applies the same permissions as the original files have. In inst/files.pl, where $_ is the file just copied to $targ: chmod((stat($_))[2], $targ) or die "Unable to copy mode from $_ to $targ: $!"; So what this means is that, when you untarred the source, the permissions were set wrong. What do you see, in the source tree from which you installed Bricolage, when you do: % ls -l comp/login/dhandler ? Is it different if you untar the sources using --preserve-permissions? Best, David -- Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
|