Black Webmasters Forum
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Webmaster Resources
User Name
Password
Remember Me?
Black Webmasters Forum
»
Web Development
»
Web Hosting Forum
»
Shell script help
Thread Tools
Search this Thread
Display Modes
#
1
06-19-2011, 11:50 AM
2oh8
Junior Member
Join Date: Sep 2010
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Shell script help
I made a script but I keep getting permission denied. I chmod'ed the file to 666 and it still wont run.
Share
Share this post on
Digg
Del.icio.us
Technorati
Twitter
#
2
06-19-2011, 04:04 PM
Pockets
Administrator
Join Date: Aug 2010
Posts: 85
Thanks: 7
Thanked 21 Times in 20 Posts
The correct permission setting is:
Code:
chmod u+rwx
scriptname
^^ This will give you the permission to run it.
If you want everyone to be able to run it use:
Code:
chmod go+rx
scriptname
Share
Share this post on
Digg
Del.icio.us
Technorati
Twitter
__________________
Follow Me On Twitter
The Following User Says Thank You to Pockets For This Useful Post:
2oh8
(06-20-2011)
#
3
06-20-2011, 01:48 AM
2oh8
Junior Member
Join Date: Sep 2010
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks that did the trick!
Share
Share this post on
Digg
Del.icio.us
Technorati
Twitter
«
Previous Thread
|
Next Thread
»
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Our Sponsor Links
Help Us Grow
Black Webmasters on Twitter
Link to us:
Please link to: http://www.blackwebmasters.com
Premium Wordpress Themes
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Content Relevant URLs by
vBSEO
3.6.0