:: Re: [DNG] Question: Why does "mkdir…
Página Inicial
Delete this message
Reply to this message
Autor: Stefan Krusche
Data:  
Para: dng
Assunto: Re: [DNG] Question: Why does "mkdir -p" produce unexpected file permissions and group
Am Samstag, 25. Januar 2020 schrieb Stefan Krusche:
> Why does group get the 's' bit and becomes 'staff'? Is this normal?
> If yes, where is it documented?


Okay, I think I found it. In:

/usr/share/doc/debian-policy/policy.html/ch-opersys.html#s9.1.2

the last paragraph says this:

"The /usr/local directory itself and all the subdirectories created by
the package should (by default) have permissions 2775 (group-writable
and set-group-id) and be owned by root:staff."

I still don't get the overall picture of what the policy for /usr/local
is. What is the difference between "below /usr/local"
and "in /usr/local" for directory "/usr/local/something"?! (as referred
to in this section of the debian policy.)

Kind regards,
Stefan