Gentoo Archives: gentoo-user

From: Korthrun <korthrun@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] linux command for file ownership and flag by creation ?!
Date: Tue, 04 Feb 2014 01:02:52
Message-Id: CAEdoyHgSX3vQDiES0+EoGS4K4qZVs5GusWo2jti4hBKGYnxa4g@mail.gmail.com
In Reply to: [gentoo-user] linux command for file ownership and flag by creation ?! by Tamer Higazi
1 Looks like you're looking for setgid functionality.
2
3 Check out http://en.wikipedia.org/wiki/Setuid#setgid_on_directories
4
5
6 On Mon, Feb 3, 2014 at 4:47 PM, Tamer Higazi <th982a@××××××××××.com> wrote:
7
8 > Hi people!
9 >
10 > I have asked myself if there are set of commands on Linux or Gentoo,
11 > that if a file locally created it belongs to a special group.
12 >
13 > Let us say:
14 >
15 > /var/folderX
16 >
17 > folderX belong to tamer:daemon
18 >
19 > I want every file I create inside automatically belongs to: tamer:daemon
20 > and not tamer:tamer
21 >
22 >
23 > For any advises, I would thank you
24 >
25 >
26 >
27 > Tamer
28 >
29 >
30 >
31 >
32
33
34 --
35 () The ASCII Ribbon Campaign - against HTML Email,
36 /\ vCards, and proprietary formats.