Displaying 1 result from an estimated 1 matches for "ourwebsite".
2014 May 07
1
files mysteriously changing ownership
We have a directory that holds the media for a website. We want that
directory owned by the apache user and group. But for some reason that
directory and all it's files keep reverting to being owned by a user
account and group.
[root at webservera ourwebsite]# ls -ld media/ drwxrwxr-x 163 user_a
user_a_group 143360 Apr 29 13:29 media/
I have even setup a cron job to automate the ownership of this file to the
right group to run every hour.
0 * * * * /bin/chown -R apache:apache /var/www/ourwebsite/media/
But every hour that directory keeps reverting t...