Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,055
    Thanks
    10
    Thanked 95 Times in 93 Posts
    ... 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)

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts
    ...Sorry...but do you think you could explain that better...I'm using Crystal FTP Pro.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •