LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2005, 11:30 PM   #1
niloshima
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
apche permission problem after i mount windows share in linux


I have win2k box. There I have webroot. I mount that webroot to linux using

mount -t smbfs //192.168.1.21/pp_LINUX /var/www/html/pp/ -o username=apache,password=apache

it has mounted in the linux. But when my apache try to access that is gives


Forbidden
You don't have permission to access /index.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



Apache/2.0.52 (Red Hat) Server at www.palmtec.lk Port 80

I can chnage the owner to apache even. It says the couden't change the owner of the

please help me

Last edited by niloshima; 12-19-2005 at 11:31 PM.
 
Old 12-20-2005, 09:05 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
See what permissions are set on /var/www/html/pp/ when you mount it.
I think the Apache docs state that they should be 755 for it to read correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
when trying to mount a windows share I'm getting jcombs_31 Slackware 11 01-04-2006 06:48 PM
windows share automatically mount on linux box emailssent Linux - Networking 11 11-01-2004 03:02 AM
(Windows) Only one Linux box can mount a smb share Artimus General 1 07-21-2004 12:12 PM
Windows / Linux Share Problem guygriffiths General 3 09-28-2003 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration