01-15-2004
On solaris use groupadd.
The g is a constant. You don't replace it with the groupname.
chgrp httpd /some/directory
chmod g+w /some/directory
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I just created a group. How do i make the groups read only to a specific file systems.(home directory). (3 Replies)
Discussion started by: niasdad
3 Replies
2. HP-UX
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
3. Solaris
How can I prevent some users from using FTP? (2 Replies)
Discussion started by: Burhan
2 Replies
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
hi
i want create a user to ftp (get) files from the 2nd machine.
but i want to give specific rights to that user that he can't access only specific files and directories.
please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies
6. Red Hat
well hi to all
The thing is I need to allow particular site to just one or 2 user
not to everybody. Can anybody tell me how do i do it. If i put there
ip in exception then whole Restriction would be bypassed which i dont
want. Your Responses would be highly appreciated
THANKS in ADVANCE (0 Replies)
Discussion started by: achtani_jeetu
0 Replies
7. Shell Programming and Scripting
Hello,
i want just to change Rights for a few direcories anf files, but some directories must be exclude.
How can i put the command chmod as
chmod -R 755 * exclude toto tata
where toto and tata are directories
Could you help me for that or must I use the find command
Thanks (2 Replies)
Discussion started by: steiner
2 Replies
8. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
9. Homework & Coursework Questions
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
10. Shell Programming and Scripting
Hi Friends ,
good morning . I am very new to Unix scripting and require a bit of advice to help resolve the below issue . Hope some one can provide some suggestion
I have the below script which calls a Oracle stored procedure which inturn extracts data from a table and writes in a ascii... (4 Replies)
Discussion started by: J1nx007
4 Replies
LEARN ABOUT DEBIAN
dpns-chgrp
DPNS-CHGRP(1) DPNS User Commands DPNS-CHGRP(1)
NAME
dpns-chgrp - change group ownership of a DPNS directory/file in the name server
SYNOPSIS
dpns-chgrp [-h] [-R] group path...
DESCRIPTION
dpns-chgrp sets the group ownership of a DPNS directory/file in the name server to the value of group.
To change the group ID, the effective user ID of the process must match the owner ID of the file and the new group must be in the list of
groups the caller belong to or the caller must have ADMIN privilege in the Cupv database.
group is either a valid group name or a valid numeric ID.
path specifies the DPNS pathname. If path does not start with /, it is prefixed by the content of the DPNS_HOME environment variable.
OPTIONS
The following options are supported:
-h If path is a symbolic link, changes the ownership of the link itself.
-R Recursive mode.
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), dpns_chown(3), Cupvlist(1)
AUTHOR
LCG Grid Deployment Team
DPNS
$Date: 2007/01/13 10:35:39 $ DPNS-CHGRP(1)