Groups Rights


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers Groups Rights
# 1  
Old 07-15-2002
Lightbulb Groups Rights

I just created a group. How do i make the groups read only to a specific file systems.(home directory).
# 2  
Old 07-15-2002
You would set the group as the 'group' of the directory and set the permissions

ls -l /export/mydir

drwxrwxr-x 2 root mygrp 4096 Sep 22 2000 mydir

chmod 745 mydir
(This would change it to read only for the group, not for the world)

ls -l /export/mydir
drwxr--r-x 2 root mygrp 4096 Sep 22 2000 mydir

You may have to change the default umask (check the man page on this and all commands before doing them)
# 3  
Old 07-15-2002
Do I need to be root to do this. I'm assuming that I do. But we know what happens when you assumeSmilieSmilie
# 4  
Old 07-16-2002
If you are the owner of the directory then no, you don't need to be root. To change the umask for all users, yes.

Read the man pages on the commands.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

user rights

good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies

2. UNIX for Dummies Questions & Answers

Access Rights

Hello Guru, I have very unique requirement , need some help. I have one folder created in one the server A. In this folder , the file getting uploaded from some java based page. then i am calling scp through key file, which works fine in another folder of server B. Currently , what i am... (2 Replies)
Discussion started by: u263066
2 Replies

3. UNIX for Dummies Questions & Answers

User Access Rights

Hi Folks, My problem is an easy one for the experts here. All my applications run using a user id that creates files with only the following default rights: -rw-r----- I want to modify this user's account such that it creates files that assign read access to the everyone group by default:... (7 Replies)
Discussion started by: umairrahman
7 Replies

4. Solaris

how to assign the rights to groups in solaris

Hi, how to assign the rights(admin,..) to groups . I can create group using groupadd. but i don't know how to assign rights and adding members please tell me how to do that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

5. Solaris

FTP rights

How can I prevent some users from using FTP? (2 Replies)
Discussion started by: Burhan
2 Replies

6. UNIX for Dummies Questions & Answers

Unix access rights

Hi, Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file? And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies

7. HP-UX

User rights

I wan to create a user e.g. Tom. whenever a file is created by user Tom or FTP is done using user as Tom, the rights on the file should be 777 (by default). how can I achieve this. Please help. Its very urgent. (1 Reply)
Discussion started by: sharmavr
1 Replies

8. UNIX for Dummies Questions & Answers

chmod rights issue?

I want to grant the 'write' right to one user so they can delete log files in a given directory. These are http log files, so a new one is created each day. The file owner is 'nobody'. If I use the command 'chmod a=rwx *' will this work for the new files created each day. I've tried the... (7 Replies)
Discussion started by: Westy564
7 Replies

9. UNIX Desktop Questions & Answers

User rights assingments

Forgive the new ness of this question. However, I have a user's home directory that i would like to give another user rw too. How would I accomplish this. Nevermin I used an acl to accomplish. A little reading goes a long way!!!! (1 Reply)
Discussion started by: niasdad
1 Replies
Login or Register to Ask a Question