[CentOS] problems with acl permissions changing ownership
jdmls at yahoo.com
Fri Mar 6 12:57:29 UTC 2009
From: "Gerhardus.Geldenhuis at gta-travel.com" <Gerhardus.Geldenhuis at gta-travel.com>
> I then have a script that is run as the deployer user to checkout config
> files from svn and copies it to /etc/httpd directory in the following
> cd /tmp/versioned-config;
> cp -Rfp --backup --suffix=.$(date +%F_%T) apache/etc/ /
> However when I do that the ownership of the config files changes to
> deployer.deployer and it looses the special permissions...
I don't think that would be possible/secure...
That would mean that the user 'deployer' could "create" files owned by someone else...
Maybe try with something like the group sticky bit...
More information about the CentOS