Folder Protection

India
June 16, 2007 4:26pm CST
Can some one please tell me how to protect my folders using a password in linux ubuntu...i was using folder guard in windows...can i get something similar to that in linux ....some one please help me....i want a gui software which can set passwords for my folder or may be a right click on the folder and set password or may be using terminal ....please help... Thank You
2 people like this
1 response
• Canada
16 Jun 07
so here, I am assuming that many people have access to your computer and that every user has a separate account on this machine. In this case, the problem is very simple. You just need to change the access rights to your directories, so that nobody else would be able to access them. for instance, if your home directory is /users/home/srirambond you will just need to type the following commands from an x-term: chmod g-rwx /users/home/srirambond chmod o-rwx /users/home/srirambond You can do this with any of your directories. r stands for read, w for write and x for execute. x right will allow/prevent others to cd your directory. I hope this was helpful.
• India
17 Jun 07
oh thats great!!!....can u tell me if i do this can anyone access these folders if they use a live Cd or from windows ???
3 people like this
• India
17 Jun 07
sorry one more problem...i have only one user and not going to have multiple users...this is just like when my friends come to my home they start fiddling with my system....i cant do anything so i want to protect some folders with password ....can u help me ?? Thanks A lot
3 people like this
• Canada
17 Jun 07
Live Linux CDs and Windows cannot see Linux partitions. Though, it is possible to access your Windows partition from Linux when using many distributions. Generally, your windows partition is under the /mnt directory. The best solution to go, if you want to allow others access your computer is to create a new guest account for your friends and family members, then set the access permissions properly to prevent them from accessing your home directory, documents, emails and browser bookmark.