0

I am running a magento 2 project on Apache 2 Webserver.

There is a logfile folder at var/log

I have set the permission, user and group of the folder to drwsrwxr-x 2 company www-data by using chmod 4775 log

The user always stays company, just like the parent user. But the group is set to sudo.

How can I change the log folder to make the group of the files always the same as the group from the parent folder which is www-data?

Black
  • 461
  • 1
  • 8
  • 20

1 Answers1

0

I figured it out. I had to set the GID with chmod g+s log

More Informations

Black
  • 461
  • 1
  • 8
  • 20