Re: Setting group Permissions.

From: Barry Margolin (barry.margolin_at_level3.com)
Date: 04/29/03


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.


Relevant Pages

  • Re: Setting group Permissions.
    ... >>I just want some clarifcation on group and user permissions. ... >>if i want to create a group for controlling access to a directory, ...
    (comp.security.unix)
  • Re: "Everyone group"
    ... The built in group "Everyone" is the equivelant of Anonymous. ... If you're talking about share permissions you ... shouldn't be controlling access with that anyway, ...
    (microsoft.public.win2000.security)
  • [UNIX] Privilege Escalation Vulnerability on phpBB
    ... permissions), so although admin rights are needed to view the page, anyone ... Goto the board you wish to change the permissions for in the normal way ... Find the base directory location of the board for the script, ... This bulletin is sent to members of the SecuriTeam mailing list. ...
    (Securiteam)
  • RE: Send As permissions getting overwritten
    ... The issue should be caused that the users are members of the 'Domain ... Apply the 'Users' template to the existing power users using the Change ... User Permissions Wizard. ... >I've set up the security auditing as you've specified, ...
    (microsoft.public.windows.server.sbs)
  • Re: Securing IIS IUSER
    ... so that these account are not effectively Users members, ... > I then explicitly granted it read permissions to the wwwroot, ... Before granting IUSER permission to read the files/folder, ... > are any of these permitting IUSER access to files and folders with "Users" ...
    (microsoft.public.windows.server.security)