Sorry, user deploy is not allowed to execute '/bin/mkdir 1' as root on localhost
Hello,
I created a user who should have rights to work under /opt/lampp/htdocs directory. This directory is having below rights.
drwxr-xr-x 184 deploy deploy 12288 Dec 3 17:42 htdocs
i created a user deploy which belongs to deploy group
uid=502(deploy) gid=502(deploy) groups=502(deploy) context=root:system_r:hotplug_t:SystemLow-SystemHigh
but now when user deploy going to create any directory/files under /opt/lampp/htdocs, is giving the below error
Sorry, user deploy is not allowed to execute '/bin/mkdir 1' as root on localhost
Please let me know how to fix this.
Thanks,
Sunny
|