[PLUG] permissions question

Carlos Konstanski ckonstanski at pippiandcarlos.com
Fri Jan 30 18:41:35 UTC 2009


Richard C. Steffens writes:
 > I don't know what is keeping the full message from making it to the 
 > list, so here's the question without the code sample, in case that's the 
 > problem.
 > 
 > I thought I'd test for the presence of a file as a way to trigger the 
 > appearance of the message on a web page. I have created the file (an 
 > empty .txt file). The code to display or not display the message works. 
 > During my testing I just renamed the file. However, on my home system 
 > (Ubuntu running apache), I get this error message: Permission denied in ...
 > 
 > I set the permission for everyone to have read/write access.
 > 
 > -- 
 > Regards,
 > 
 > Dick Steffens
 > www.dicksteffens.com

How about the directory that the file is contained in?  It needs to be
accessible by the apache user (I'm assuming apache here, as this
sounds like a familiar problem).  Try chowning the directory to 777 as
a test.
-- 
Carlos



More information about the PLUG mailing list