allow user to run script located in /bin
Hello
I have placed my script in /usr/bin folder but when I try to run that script as user. I am getting error permission denied.
I have set chmod u+x to file but its not working.
-
Hello, Please make sure that the file ownership is user:user. 0 -
Hello, Please make sure that the file ownership is user:user.
But it will run for that user only. How can I make it available for all users ?0 -
Hello, Are you using CloudLinux on your server? and please be more explain here about your script. 0 -
I have placed my script in /usr/bin folder but when I try to run that script as user. I am getting error permission denied.
Hello, Could you provide some more information about this script and why it's added to that directory? What's it's purpose? Thank you.0 -
Hello ! Can I allow users to run chmod user.nobody for public_html folder 0 -
Hello ! Can I allow users to run chmod user.nobody for public_html folder
By locating the script in the "bin" or "sbin" directory you will not be able to start automatically with the system, you have to create an "init" or add a command line to crontab. With the script having permissions 7777 can be executed by any user via console regardless of everything. Hosting the script in the running public_html is a death threat.0 -
Hello ! I dont want to start it automatically. I just want user should be able to fix permissions at his end. Is it possible that user can set permissions for public_html at his end ? 0 -
I just want user should be able to fix permissions at his end. Is it possible that user can set permissions for public_html at his end ?
No, attempting to update ownership to another user while logged in via SSH or FTP as the account username is not permitted. EX:$ chown test123.nobody /home/test123/public_html chown: changing ownership of "/home/test123/public_html": Operation not permitted
You must be logged in as "root" to make this change. Thank you.0
Please sign in to leave a comment.
Comments
8 comments