LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2011, 07:09 AM   #1
johnmccarthy
Member
 
Registered: Jul 2010
Posts: 64

Rep: Reputation: 1
Smile Do I use stickybit and how


Using RHEL 5. I have a folder and I want to ensure all users who place files (present and future) in the folder that those files inherit the permissions of the folder. The users are in the group Marketing (which have read and write) and the folder is called /Customers.

Do I use the sticky bit so all persons in Marketing can receive the benefits of the permsission set on the Folder /Customers and how do I type that at the command prompt? Do I have to include a -r for recurssive?

A million thanks,
Johnny Mac
 
Old 11-07-2011, 07:36 AM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 45
No, the sticky bit is not what you're looking for...
look at the definition here.
You should look for some more advanced permission... depending on your use, maybe the usual UNIX permissions won't be enough. I suggest you refining your question here, and looking for other mechanisms using the web.
 
Old 11-07-2011, 08:05 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Maybe the setgid bit on the directory? Set by chmod g+s /path/to/directory
 
Old 11-07-2011, 08:25 AM   #4
johnmccarthy
Member
 
Registered: Jul 2010
Posts: 64

Original Poster
Rep: Reputation: 1
Smile I think I figured it out using umask

It seems umask is more what I need. A million thanks for all your help,
John
 
  


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




All times are GMT -5. The time now is 08:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration