Originally Posted by
Sarmacid
Using ls -al will show you the permissions the user, group, and everybody else has over that file/directory in that order. To change those permissions, you can use chmod. If you have more users, I'd suggest creating a group, add the 2 users you want sharing the folder, give full permissions to those users and none for everybody else.
Here's the results of <ls -al>:
Code:
bs@kpdesktop:/home$ ls -al
total 2
drwxr-xr-x 6 root root 128 2008-10-27 20:04 .
drwxr-xr-x 23 root root 704 2008-10-29 07:05 ..
drwxr-xr-x 34 bs bs 1456 2008-10-29 11:23 bs
drwxr-xr-x 3 root root 80 2008-10-27 20:04 sharekpd
I am bs and I want 'sharekpd' to have unlimited access to myself and one other user yet to be created.
I created a group (gpsharekpd) and added myself to it. The other user is not created yet.
Will create the other user and report back. I need to look up (or you could tell me) how to use chmod to change permissions.
Bookmarks