LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-10-2004, 05:24 PM   #1
tigerhuang
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
How to set permissions for a specific group?


Hi all,

I have 2 different groups like CC and DD. If I don't want to change the ownergroup of /tmp/ftp from root to group CC, can I add the write permission for CC and keep group DD only read permission to /tmp/ftp? If yes, How to do it?

Thanks in advance.
 
Old 12-10-2004, 06:59 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
"If I don't want to change the ownergroup of /tmp/ftp from root to group CC, can I add the write permission for CC and keep group DD only read permission to /tmp/ftp? If yes, How to do it?"

You cannot do exactly what you are asking. You can probably get by with changing the group of /tmp/ftp to group CC. Then allow group to read/write and make others read only. Try permissions of 664.

------------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the permissions for a user Group? Akhran Linux - Newbie 6 11-14-2005 08:55 AM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 06:22 PM
Why specific user/group for rpm installation alanbe Linux - Newbie 1 03-02-2005 05:27 PM
How do I set permissions on a group rwalkerphl Linux - Newbie 4 06-22-2004 05:44 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration