You are not logged in.

#1 2010-02-06 00:19:22

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

chmod number that creates most secure/private directories

On one of the servers I use that I share with other people, I have a folder of which its contents I don't want to be shared with other people on the network.

For example, everyone can access everyone's home folder. I want to make this folder so that no one else can even cd to it or ls in it. I am not the administrator on the server, and I don't want the admin to have access either. Is this possible?

Offline

#2 2010-02-06 00:44:27

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: chmod number that creates most secure/private directories

No.  Root access can see and do everything.

Offline

#3 2010-02-06 01:02:48

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: chmod number that creates most secure/private directories

What about encrypt the file? I don't know it is useful, but you can try.
See this link for more info: http://www.cyberciti.biz/tips/linux-how … sword.html

Offline

#4 2010-02-06 01:37:02

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: chmod number that creates most secure/private directories

You can use "chmod -R go= <directory path>" to prevent other users from looking into the directory, but not root. Use encryption for that (e.g. EncFS, Truecrypt, GPG)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2010-02-06 02:53:17

sdolim
Member
Registered: 2010-01-20
Posts: 67

Re: chmod number that creates most secure/private directories

Of course, to be *really* secure, do "chmod 000".  smile
Root can still read it of course...

Offline

Board footer

Powered by FluxBB