libexec/cups/cgi-bin/admin.cgi: Permission denied

Shih-Chin Yang syang94555 at gmail.com
Sun Dec 18 10:06:01 PST 2011


To who may concern:
I downloaded 1.4.8 source version of cups, and built it for Mac OS X 10.6.8. I run cupsd, and tried to access the admin page via localhost:631/admin and never succeeded. I always saw 500 from browser, is there anything wrong?

I tried to read the log, and it showed
.......
D [19/Dec/2011:01:41:43 +0800] [CGI] envp[30] = "REQUEST_METHOD=GET"
D [19/Dec/2011:01:41:43 +0800] [CGI] envp[31] = "QUERY_STRING="
D [19/Dec/2011:01:41:43 +0800] [CGI] Started /Users/shih-chinyang/Downloads/cups-1.4.8/build/libexec/cups/cgi-bin/admin.cgi (PID 25673)
I [19/Dec/2011:01:41:43 +0800] Started "/Users/shih-chinyang/Downloads/cups-1.4.8/build/libexec/cups/cgi-bin/admin.cgi" (pid=25673)
D [19/Dec/2011:01:41:43 +0800] cupsdSendCommand: 12 file=13
D [19/Dec/2011:01:41:44 +0800] [CGI] /Users/shih-chinyang/Downloads/cups-1.4.8/build/libexec/cups/cgi-bin/admin.cgi: Permission denied
D [19/Dec/2011:01:41:44 +0800] PID 25673 (/Users/shih-chinyang/Downloads/cups-1.4.8/build/libexec/cups/cgi-bin/admin.cgi) stopped with status 13!
D [19/Dec/2011:01:41:44 +0800] cupsdWriteClient: 12 Closing because Keep-Alive disabled

....

It seems the "Permission denied" was the problem, could someone please help?

We would appreciate a lot!
Many thanks and best regards,

Shih-Chin Yang




More information about the cups mailing list