Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 17:35:02 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        julian@whistle.com (Julian Elischer)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: RFC.. Proposal.. file flag No-delete
Message-ID:  <199705150035.RAA13765@phaeton.artisoft.com>
In-Reply-To: <337A35E7.5656AEC7@whistle.com> from "Julian Elischer" at May 14, 97 03:00:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> a skeleton of directories and files which must not be removed except
> by root, intermixed with files that should be able to be added and
> removed by users of a particular group.
>            (M) = directory
>            [N] = file
> 
> (A)----(B)----[C]
>      |
>      \-(D)
> 
> We want non root members of group 'x' to be able to
> add files or directories to directories A, B or D, and delete
> them again,
> however they must not be able to delete A,B,C, or D
> non members of group 'x' must only be able to write into D in
> the case where D is owned by them. (D represents several
> directories with different owners(e.g. home directories))
> 
> this seems to be an easy problem, but it turns out that
> it is not immediatly solvable using standard semantics.

Why won't this work:

chown root.x a a/b
chmod 1770 a a/b
chown user.x a/d[n]
chmod 1750 a/d[n]

?


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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