FreeBSD Port: www/apache24

Miroslav Lachman 000.fbsd at quip.cz
Fri Oct 18 16:19:10 UTC 2019


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


More information about the freebsd-apache mailing list