I assume you are deploying a Linux distribution. The easiest way to solve your problem is to create a group of, say, scanners, and add each user who must have permissions to deploy in this group. When the group is created and users are in the group, change the ownership and permissions of the deployment path.
The syntax will be slightly different depending on the distribution. Here for ubuntu / debian:
Create a group:
$ sudo groupadd deployers
Add users to the group:
$ sudo usermod -a -G deployers daniel
The last argument is the username.
Then update the ownership of the deployment path:
$ sudo chown -R root:deployers /deploy/to/path/
Syntax for :. Here I assume that the user who owns this path is root. The update to which the user should ever belong.
Finally, change the permissions on the deployment path:
$ sudo chmod -R 0766 /deploy/to/path/
This will allow users of the development group to read and write all files and directories under /deploy/to/path
jarrad
source share