Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

web files permissions

  Date: Nov 24    Category: Unix / Linux / Ubuntu    Views: 400
  

I am really puzzled by linux security. I have the following problem. I have the site hosted on a server with many other sites (accounts). I noticed I can walk around without problem in other users accounts and view both the structure and their files. I suppose they can do the same. What rights should I set to my files to make sure they are not copied or read by others. Is there a sollution to stop others see my home folder ?

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Nov 24    

If you want others from getting into your home directory then do this:

Chmod 700 /home/<myusername>

I think that should work pretty well.

 
Answer #2    Answered On: Nov 24    

Yes, but this won't stop them getting to:

/home/<myusername>/<myweb>

and I can not set 700 for the <myweb> since it must be read
by nobody. Is this how it happens on servers with hosting that
also offer telnet access, you can access the files of the others ?
I told the admin about this problem, and he said it is normal.

 
Didn't find what you were looking for? Find more on web files permissions Or get search suggestion and latest updates.




Tagged: