On OS X Mavericks, I want to install few files without prompting user for sudo password. (Folder where i am trying to install require root access because it is present at / location). I can do this by modifying "sudoer" file and disable sudo password but this is unsafe and open up security risk.
Is there any way I can provide sudo access only a particular folder? So when I try to write to this folder, sudo password prompt is not visible to user.
(All above task are done through command line)