Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-18-2004, 04:43 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Web-server chmods

I have linux debian-server where i drive homepages, and some irssi-proxies to my friends etc. but i have a problem.

I cant find good chmod's to get folders work right.
those what is tried other users can see and edit eachothers documents.
i have made group users and putted accounts there.

i need to get it work like this.

No one cant read or modify /
No one cant read or modify /home/
users can do what ever they want in their /home/username/ -directory.
and Apache2 should work in their public_html folders.
And when they make directories default chmod is same as /home/username/

If you understood, plz help
Old 12-18-2004, 07:24 AM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Just make them have their directories chmod to 755, if you want them to let the world see what they have. if you put them to 700, only they can see the files, and no one else. So if you want public_html, those directories must be 755 rights. One other thing to prevent access to others files is to chroot the users when they login over FTP. Check your FTP instructions to see how to do that. Chroot makes the user able to work only in the directory and subdirectories of which you assign to them. Check it out.


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
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 AM.

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