Redmine#5701: only set permissions for agents and optional_agents, not all of dir_bin
Redmine#5701: only set permissions for agents and optional_agents, not all of dir_bin

martingehrke/masterfiles,maciejmrowiec/masterfiles,phnakarin/masterfiles,frap/masterfiles-1,maciejmrowiec/masterfiles,tzz/masterfiles,frap/masterfiles-1,frap/masterfiles-1,phnakarin/masterfiles,phnakarin/masterfiles,martingehrke/masterfiles,maciejmrowiec/masterfiles,martingehrke/masterfiles