Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 16:06:27 +0100 (MET)
From:      Ulrich Gruenebaum <grueneba@zkom.de>
To:        freebsd-questions@freebsd.org
Subject:   group permissions
Message-ID:  <200112131504.QAA71508@osterix.zkom.de>

next in thread | raw e-mail | index | archive | help
Hi,

does anybody know how to solve the following
administration problem on a FreeBSD file server:

- There a some large files on the server,
  belonging to someone.
  
- The owner and some other users must be able
  to read and write them.
  
- Another group of users shall have read-only access.

- All remaining users shall have
  neither read nor write access.

My approach was, to specify group-permissions like below,
and putting all r/w users into the specific group 'rwgroup',
but this does not allow me to distinguish between the users
with r/w and the users with read-only permission.

 > ls -lF  file
 -rw-rw----  1  user   rwgroup   1024 Dec 13 14:55 file
 
(the owner and all users who are members in group 'rwgroup'
have r/w access, others have no access at all. But how can
I give read-only access to an additional group of users??)


Any hints are appreciated!


Best regards
Ulrich

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Ulrich Gruenebaum (grueneba@zkom.de)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112131504.QAA71508>