Current location: Hot Scripts Forums » Programming Languages » PHP » chmod 777 error


chmod 777 error

Reply
  #1 (permalink)  
Old 08-20-05, 06:49 PM
blackcode blackcode is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
chmod 777 error

im getting an error chmod 777, i know why it is doing this but i dont know how to change the permission's though telnet... ive tryed getting help inside of telnet and it tells me there is no help avaliable and when i tryed cd and dir all the commands i could think of wouldnt work...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-20-05, 08:18 PM
DetroitGuy DetroitGuy is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
chmod [options] permissions file[s]

chmod 777 file.ext
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-20-05, 08:21 PM
blackcode blackcode is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
i had already tryed that command. it told me that was an invalid command
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 08-20-05, 08:30 PM
DetroitGuy DetroitGuy is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Are you telnetting into a windows machine? If so, that's the problem. Windows doesn't support CHMOD. There is also no alternative via telnet. You have to use FTP to modify permissions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 08-20-05, 08:42 PM
blackcode blackcode is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
nope this is a unix box im telnetting into... but from a windows computer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 08-20-05, 08:58 PM
DetroitGuy DetroitGuy is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
If you have FTP access, try to CHMOD via FTP. If you cannot, then the account does not have the correct permissions to use the CHMOD command.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 08-21-05, 02:32 PM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
first, instead of telnet, use ssh for more security (asymmetric session keys). second, type "man chmod" in your *nix console (via ssh). last, make sure you own the file you're chmodding.
__________________
just an ignorant noob with moronic solution...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP upload prob minority ASP 1 06-27-05 09:35 AM
CHMOD images directory to 777 killerbanana PHP 1 01-02-05 10:54 AM
CHMOD to 777 hbfriends PHP 10 10-27-04 10:43 PM
CHMOD 777 Directory Vulnerability? phanbox The Lounge 0 10-26-04 11:41 PM
[php error] parse error | fatal error xeoHosting PHP 1 01-03-04 09:12 PM


All times are GMT -5. The time now is 12:07 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.