![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Regular Coder ![]() Join Date: Jun 2005
Location: USA
Posts: 634
Thanks: 0
Thanked 7 Times in 7 Posts
![]() |
no directory access in linux
hey I'm running a centos 4.4 server and some of my friends have web accounts on it(just for fun). I was thinking of setting setting chmod to 751 on all of the root folders except for /home. Would this interfere with anything that linux does...?
The users just have a /home/username/public_html and /home/username/private folder, they dont do anything else. 751 does: user can do everything group can read and execute others can just execute I was thinking of doin this just so it looks cleaner... like so they cant see the whole server ![]() Thanks, -Adam Edit: Am I right in thinking everything will be the same besides the ability to list files in the directories?
Last edited by GO ILLINI; 10-09-2007 at 04:02 AM.. |
|
|
|
|
|
PM User | #2 | |
|
Moderator ![]() ![]() Join Date: May 2002
Location: Perth Australia
Posts: 3,405
Thanks: 0
Thanked 17 Times in 17 Posts
![]() |
Quote:
see this article for example
__________________
resistance is... MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf) |
|
|
|
|
|
|
PM User | #4 |
|
The Spaminator ![]() ![]() Join Date: Jun 2002
Location: USA
Posts: 8,004
Thanks: 1
Thanked 199 Times in 195 Posts
![]() ![]() ![]() |
Yeah, jail them to their home directory. Changing permissions system wide is probably going to end in disaster, lol.
__________________
OracleGuy My Blog "... the VP of our third biggest account started sweating bullets in our latest project status conference when Roy stood up and asserted: 'We don’t code our products for SMACKTARDS.'" - Daily Victim #564 |
|
|
|
|
|
PM User | #5 |
|
Regular Coder ![]() Join Date: Jun 2005
Location: USA
Posts: 634
Thanks: 0
Thanked 7 Times in 7 Posts
![]() |
ha eh... its just personal server i could use with a little bit of downtime.
![]() after all... my users aren't actually paying me. Jailing seems like it might be a little bit of work so ill get around to trying it sometime. Thanks, -Adam |
|
|
|
|
|
PM User | #6 |
|
The Spaminator ![]() ![]() Join Date: Jun 2002
Location: USA
Posts: 8,004
Thanks: 1
Thanked 199 Times in 195 Posts
![]() ![]() ![]() |
What software are you using for your FTP server?
__________________
OracleGuy My Blog "... the VP of our third biggest account started sweating bullets in our latest project status conference when Roy stood up and asserted: 'We don’t code our products for SMACKTARDS.'" - Daily Victim #564 |
|
|
|
|
|
PM User | #9 |
|
Regular Coder ![]() Join Date: Jun 2005
Location: USA
Posts: 634
Thanks: 0
Thanked 7 Times in 7 Posts
![]() |
well i figured its easier this way because i don't really care how much space they use or bandwidth... or anything. Its 4 people using a server that has space/processing power to support over 100.(got it free
)virtual machine sure as hell sounds like more work then jailing. -Adam |
|
|
|
|
|
PM User | #10 |
|
Regular Coder ![]() Join Date: Jun 2005
Location: USA
Posts: 634
Thanks: 0
Thanked 7 Times in 7 Posts
![]() |
SOLVED
I posted my results along with a tutorial have made from my experiences here: http://codingforums.com/showthread.p...801#post634801 Thank you all, -Adam |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|