Tags:
create new tag
view all tags

SID-01636: TWiki Permission Issues: Permission denied for pub files

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.8.4
Category: CategoryError Server OS: 5.10 Generic_142900-13 sun4v solaris 10 Last update: 11 years ago

HI , I see the following errors in my access_log error_log files on solaris 10 boxes with TWIKI 5.1.0

root@ludshiya:/var/apache2/logs# tail -f access_log
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TWikiLogos/T-badge-88x31.gif HTTP/1.1" 500 630
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/menu-gray-bg.png HTTP/1.1" 403 459
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/banner-bg.png HTTP/1.1" 403 456
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/banner-net-bg.png HTTP/1.1" 403 460
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/action-button-area.gif HTTP/1.1" 403 465
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/button-round-disabled.gif HTTP/1.1" 403 468
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/menu-pulldown-bg.png HTTP/1.1" 403 463
137.15.2.95 - - [07/Feb/2013:13:34:38 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/button-round-normal.gif HTTP/1.1" 403 466
137.15.2.95 - - [07/Feb/2013:13:34:39 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png HTTP/1.1" 403 462
137.15.2.95 - - [07/Feb/2013:13:34:39 -0500] "GET /twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png HTTP/1.1" 403 462
^C

#############################################################
############################################################

 root@ludshiya:/var/apache2/logs# tail -f  error_log
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] Premature end of script headers: T-badge-88x31.gif, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/menu-gray-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/banner-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/banner-net-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/action-button-area.gif denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/button-round-disabled.gif denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/menu-pulldown-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:38 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/button-round-normal.gif denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:39 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome
[Thu Feb 07 13:34:39 2013] [error] [client 137.15.2.95] (13)Permission denied: access to /twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png denied, referer: http://unixwiki.corp.toronto.ca/twiki/bin/view/Main/WebHome

I did check that my view binary points to the right path for perl

root@ludshiya:/apps/twiki/bin# pwd
/apps/twiki/bin
] root@ludshiya:/apps/twiki/bin# more view
#!/usr/bin/perl 

root@ludshiya:/apps/twiki/bin# ls -las /usr/bin/perl
   2 lrwxrwxrwx   1 root     root          23 Sep 27  2010 /usr/bin/perl -> ../perl5/5.8.4/bin/perl

Please advise. I cant see any of my gifs etc

-- Indu Thakur - 2013-02-07

Discussion and Answer

Make sure the twiki/data, twiki/pub, twiki/working and everything below is owned by your webserver user.

-- Peter Thoeny - 2013-02-07

Make also sure that the =twiki/pub directory is not cgi enabled.

-- Peter Thoeny - 2013-02-07

Thanks Peter .There was a typo in the httpd.conf file. In place of Alias /pub "/apps/twiki/pub" there was ScriptAlias /pub "/apps/twiki/pub" Modified and it works fine now.

-- Indu Thakur - 2013-02-12

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title TWiki Permission Issues: Permission denied for pub files
SupportCategory CategoryError
TWiki version 5.1.1
Server OS 5.10 Generic_142900-13 sun4v solaris 10
Web server Apache/2.0.63
Perl version 5.8.4
Browser & version ie 6.0
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2013-02-12 - InduThakur
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.