SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Permission problem for FTP

    Hi,

    I am having linux server, and recently added a user on the server, now when he tries to upload the files in his directory through FTP it says permission denied. But he was able to uplod the images in the folder.

    I also tried to uplod the files through the admin passowrd, but it was not working.

    What could be the reson?? I have checked the persmmiosn and it correctly defined.

    Please help.

    regards
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  2. #2
    SitePoint Addict
    Join Date
    Apr 2002
    Location
    Manchester, UK
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We had a similar problem with one of our clients, which, in his case was a firewall problem. Once he disabled the firewall, FTP was fine. Maybe that could be the problem ?
    Design R Web Solutions
    part of Othello Technology Systems Ltd AS29527
    Email Us Support Forums
    enom ETP - PM me for a free reseller account

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    No, we have not defined firewall. Moreover, it was working fine few days back, but today when we started to upload the files it said permission denied. Nad it says some 550 error.

    We are also not able to delete the folder.
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  4. #4
    SitePoint Addict
    Join Date
    Apr 2002
    Location
    Manchester, UK
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found a little snippet from the "WS FTP" support pages which should help. It sounds like you do not have or set the correct permissions:

    Question/Problem: I keep receiving an error message: "550 permission denied". What does that mean?

    Answer/Solution: The 550 error is a message from the server stating that the account you have currently logged in as does not have permission to perform the action you are attempting. You may be trying to upload to the wrong directory or trying to delete a file.

    Here is an example of when someone would receive this message:

    John logs into ftp.ipswitch.com and goes to the directory /Ipswitch/Product_Downloads
    In this directory John sees a list of files for users to download. If John selects a file from his local system and tries to upload it to this directory he will receive the 550 permission denied message because he does not have rights to upload to this directory. John has read and list permissions only. In order to upload John needs write permission. He could contact the system administrator to ask for write permission on the server.

    List. The user can display a listing of the folder(s) contents.
    Read. The user can download files from the folder(s).
    Write. The user can upload files to the folder(s).
    Delete. The user can delete files and folders in the folder(s).
    Rename. The user can rename files and folders in the folder(s).

    If you attempt one of these task and you were not given permission you will see the message: "550 permission denied"

    I hope that helps.
    Design R Web Solutions
    part of Othello Technology Systems Ltd AS29527
    Email Us Support Forums
    enom ETP - PM me for a free reseller account

  5. #5
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok,

    So how do i change the permissions???
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  6. #6
    SitePoint Addict
    Join Date
    Apr 2002
    Location
    Manchester, UK
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, try to FTP into your account. Depending on what FTP client you use, change the folder permissions to chmod 777. (The folder you are trying to upload to)

    (Click the READ, WRITE and EXE permission to all on or checked. With WS FTP, you need to right click on the folder and go to "CHMOD" on the menu. It will be similar on other FTP programmes)

    That may work. If you have your own servers, try to contact your server providers who should help you. They may need to make changes on there side. Its also worth trying at least 2 different FTP clients to test if you still have a problem. We have had problems with WS FTP (for a CGI script) so we switched to ACE FTP and everything worked fine.
    Design R Web Solutions
    part of Othello Technology Systems Ltd AS29527
    Email Us Support Forums
    enom ETP - PM me for a free reseller account

  7. #7
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I tried to do that also, but not working.

    I am also not able to rename the files, delete, or upload the files, even when i log on as the admin.

    But other folders are working fine, i am uploading the files and doing all the normal things.
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  8. #8
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also,

    When i try to chmod using WS FTP, it says not supported on the remote server.

    so I telnet and chnage the permissions.
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  9. #9
    SitePoint Member EHP_Rupi's Avatar
    Join Date
    Jun 2002
    Location
    California
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    teraexp,

    You have two choices:

    1. Login to your control panel and see if you can view the ownership of that folder. And if its owned by you ( should say your username next to it) then try changing the permission to 755 for that folder. If not.

    2. Then I think its ownership problem. Sometimes server creates a folder and they are not created properly and ownerchip looks like 189 or root. Try contacting your support and have them change the ownership and folder permission to what you desire and they should bve able to do it in no time.

    Hope this helps.

    -Rupi
    Web Hosting for Less at eHostPros.com
    Powerful Hosting & Reseller Plans anyone can afford.
    Cheap Web Hosting \\// Reseller Web Hosting
    Powering Websites Since 2002

  10. #10
    SitePoint Enthusiast
    Join Date
    Feb 2002
    Location
    India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks,

    But can we change the ownership of the folders. I have asked support to change the same.

    Can we change the same, as we have the root access to the server??

    Thanks
    Web Solutions :: http://www.cyberparkonline.com
    Indian Yellow Pages :: Rajasthan Business Directory
    Travelogue and Destination Guide :: India Travel Information Forum
    Hotel Directory of Rajasthan, India:: http://www.hotelsinrajasthan.com

  11. #11
    SitePoint Member EHP_Rupi's Avatar
    Join Date
    Jun 2002
    Location
    California
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can if you have the root access to your server

    Login to your server then do
    #su
    Password: enter your pass
    Then goto the directory with permissions issue

    and do: chown -R owner:group directory/

    owner = the site admins user name
    user = The users of that site, if you want to give them access to
    directory/ = path to that directory

    Good Luck Bhai
    Web Hosting for Less at eHostPros.com
    Powerful Hosting & Reseller Plans anyone can afford.
    Cheap Web Hosting \\// Reseller Web Hosting
    Powering Websites Since 2002


Bookmarks

Posting Permissions

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