for example, if i'm using a php script that writes files, or using a cms , the files and folders that are generated are owned by a special user (f.e. www-data:www-data
)
is it possible to change this default user for special directories?
so that for example all cms systems or php scripts in general use another user and group in the dir /httpdocs/somedir
?