On 4/26/06, qtcamote <[EMAIL PROTECTED]> wrote:

Aloha PLUGgers!

drwxr-x--- 2 testuser  technical 4096 Apr 26 10:44 stickyfolder

The above shows my current permission for my folder. My current trouble is testuser1 can create and delete files but when I try to login to another user, let's say testuser2, testuser2 cannot open the directory.

change the ownership of  the file/directory via the chown command:

# chown technical.technical /path/of/file

In my /etc/group file

technical:x:505:root,testuser1,testuser2

I have the above line which (I think) says that testuser1 and testuser2 belongs to the technical group. How do I set the permissions of the folder so that other members of the group should be able to read the file?

check the file permission via $ ls -l and see if it allows other users in the group to read the file, if not then do this:

# chmod 750 /path/to/file

My another question is this. Let's say that a certain user should be able to create a file in a shared directory but the users should not be able to delete files or the user should be able to create a file but not a directory. How do I set the permissions of the shared folder?


please read the manual pages of chmod, these are basic unix commands which every nix* administrator/user must know.

TIA.

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




--
V irus
I nstability
S pyware
T rojans
A dware
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to