Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2019 18:18:58 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Jonathan Gilpin <jonathan@fluent.ltd.uk>, "apache@freebsd.org" <apache@FreeBSD.org>
Subject:   Re: FreeBSD Port: www/apache24
Message-ID:  <0437983c-cdc9-96eb-62e4-bac1b3d04ab4@quip.cz>
In-Reply-To: <00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11@fluent.ltd.uk>
References:  <00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11@fluent.ltd.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Gilpin wrote on 2019/10/18 14:38:

> -rw-r--r--   1 marsecreview  wheel         209166 Oct 18 13:12 Screenshot 2019-10-17 at 18.02.49.png
> 
> # id marsecreview
> uid=3008(marsecreview) gid=3010(marsecreview) groups=3010(marsecreview)
> 
> This is a standard installation so Apache runs as www on FreeBSD:
> 
> id www
> uid=80(www) gid=80(www) groups=80(www)
> 
> So I really do not understand where the ‘wheel’ group is coming into this..
> 
> entry from /etc/group is:
> 
> wheel:*:0:root,jonathan

Group on files is inherited from parent folder. It is how it works on 
FreeBSD by default.
So if parent folder of your file "Screenshot 2019-10-17 at 18.02.49.png" 
has group "wheel" then the file will have it too.

What is owner and group of the folder in question? (ls -ld your_folder)

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0437983c-cdc9-96eb-62e4-bac1b3d04ab4>