Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2004, 03:05 AM   PM User | #1
Blatch
New Coder

 
Join Date: Mar 2003
Location: USA
Posts: 99
Thanks: 24
Thanked 0 Times in 0 Posts
Blatch is an unknown quantity at this point
Unable to CHMOD 777...

When right clicking the file that I'm trying to CHMOD from my FTP client, I select and receive the correct window to set permissions.
I set it with 777 and click enter. My active window then shuts down and I receive this error:

FTP Cmd : site chmod /www/wbboard/images/smilies 777
: 550 Could not change perms on 777: No such file or directory

What am I missing? Is there a 777 file I need to upload?
Thanks in advance for any advice you can give me on this frustrating problem.
Blatch is offline   Reply With Quote
Old 01-15-2004, 06:53 AM   PM User | #2
firepages
Super Moderator


 
Join Date: May 2002
Location: Perth Australia
Posts: 3,890
Thanks: 5
Thanked 79 Times in 78 Posts
firepages will become famous soon enough
... you need (at least in WS_FTP) to right click on the file itself and select CHMOD , and check the appropriate permissions (eg all of them !))

if thats what you are doing and it still does not work , note that depening on your host's setup you may not actually be allowed to CHMOD.

1 other possiblity is that you may have created the file via a CGI/PHP script , in that case the script is owned by (usually) 'nobody' and you no longer have permission to CHMOD that script.

If that is the case , get your script to CHMOD or CHOWN (CHOWN is disabled on almost all virtual hosting accounts) the file with the appropriate permissions , then you can alter it via FTP.

eg in PHP , a file created via script and now 'owned' by apache/nobody can be made available again by ..<? chmod( 'filename.file' , 0777 );?>
__________________
resistance is...

MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
firepages is offline   Reply With Quote
Old 01-17-2004, 02:45 AM   PM User | #3
Blatch
New Coder

 
Join Date: Mar 2003
Location: USA
Posts: 99
Thanks: 24
Thanked 0 Times in 0 Posts
Blatch is an unknown quantity at this point
...Sorry...but do you think you could explain that better...I'm using Crystal FTP Pro.
Blatch is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 07:25 AM.


Advertisement
Log in to turn off these ads.