Re: problems with acl permissions changing ownership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: "Gerhardus.Geldenhuis@xxxxxxxxxxxxxx" <Gerhardus.Geldenhuis@xxxxxxxxxxxxxx>
> 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
> way:
> 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...

JD


      

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux