After I typed chown -R root:www-data /etc/folder/ all files that is created in /etc/folder gets owner www-data and group www-data as well (www-data:www-data). How to make that new files that is created in /etc/folder directory would have root as a owner and www-data as a group (root:www-data) ?
after chmod +s dir/ command new files that are created with root,other user is fine (they become owned by root and www-data group). But when I launch bash script from web,php (exec('bash.sh')) the new file is still created with owner and group as www-data:www-data.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230