I have the following users "architecture" :
- root access is disabled.
- admin user have access only to its home directory.
- Apache runs as root service (root is the only one that have access to web-server files)
- I have installed jenkins CI which is building my project with "admin" privileges.
i would like to copy latest build files to my webserver location as a post build action. how can i accomplish that if only "root" user has access to my destination directory? maybe my "users architecture" is all wrong in the first place?