Re: Setting group Permissions.
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 04/29/03
- Next message: all mail refused: "Re: Setting group Permissions."
- Previous message: Nico Kadel-Garcia: "Re: Configuring Telnetd On Suse Linux"
- In reply to: Nex6: "Setting group Permissions."
- Next in thread: all mail refused: "Re: Setting group Permissions."
- Reply: all mail refused: "Re: Setting group Permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Apr 2003 00:37:48 GMT
In article <b8kbei$p34$1@gladiola.noc.ucla.edu>, Nex6 <no@nospam.com> wrote:
>I just want some clarifcation on group and user permissions.
>
>if i want to create a group for controlling access to a directory, I
>create the group. and populate it with users. then on the directory i
>need to set the sgid bit? so the OS knows to use the group?
No, you should set the group read, write, and execute permissions of the
directory to the permissions you want to allow for members of that group.
The set-gid bit controls the group that's assigned to new files created in
the directory. Normally they're assigned to the primary group of the
process that created the file, but if the set-gid bit is set then they
inherit the group of the directory.
>and If a user 'owns' a directory, how can they 'Share' that directory?
>with other users? and if its in a directory structure like
>/home/user/sharefile ? and suppose you dont want to share all the files
>just whats in the 'share?
If they want to share it with other members of their group, they set the
group permissions on the directory and files. If they want to share it
with everyone else on the system, they set the "other" permissions.
-- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: all mail refused: "Re: Setting group Permissions."
- Previous message: Nico Kadel-Garcia: "Re: Configuring Telnetd On Suse Linux"
- In reply to: Nex6: "Setting group Permissions."
- Next in thread: all mail refused: "Re: Setting group Permissions."
- Reply: all mail refused: "Re: Setting group Permissions."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|