LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-16-2003, 12:51 PM   #1
piratebiter
Member
 
Registered: Aug 2003
Location: desert
Distribution: RH 8, Debian
Posts: 61

Rep: Reputation: 15
What is the correct Samba permission to my webserver /www directory? how to


I have samba from win dev box to my webserver, and I want to carefully set permissions for user_me on the win box to reach , read, write, execute
/usr/local/apache2/www on the server

I think? would like the ownership of the /www to NOT be root but user_me. The rest of the /usr/local/apache2/ can remain as is.
The point is to add/modify webpages to the webserver.

I'm thinking chmod -R 777 /usr/local/apache2/www. Tried it, but it doesn't seem to be working out. I tried it from /user_me prompt, probably need to do it as root? and 777 is too broad surely? Should I change ownership first? how?
Maybe a little direction here would be good.

ls - l for the directory /www now reads:
drwxr-sr-x 4 root root ...... www

thanks much,
P.Biter
 
Old 09-21-2003, 06:12 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
is there a file named .htaccess in the /usr/local/apache2/www directory? If so try removing it or renaming it.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I give a user permission to save files to /var/www/html? rotnay6000 Linux - Newbie 10 07-14-2009 08:45 PM
which is the correct directory path? verbatim Programming 1 04-24-2005 11:22 PM
The correct/secure way to setup a webserver? ]SK[ Linux - Software 5 02-11-2005 02:34 AM
Webserver without www prefix da_tibmeister Linux - Networking 2 08-08-2004 09:07 AM
Red Hat 9 / running webserver but can't use /var/www/html/ novice22 Linux - Security 1 01-28-2004 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:38 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