#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Location
    South Africa
    Posts
    73
    Rep Power
    4

    Exclamation User Permissions


    Hi there,

    I have a user who needs access to copy files via FileZilla onto my FTP server. The user is able to login and view the folder, however the user is not able to copy the files into the directory. Error message being "550 Permission denied."

    Please can someone assist?
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,997
    Rep Power
    9397
    Do they have the right permissions on the directory? Apparently not.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Location
    South Africa
    Posts
    73
    Rep Power
    4
    Originally Posted by requinix
    Do they have the right permissions on the directory? Apparently not.
    How do I give them write permissions to that directory? I've tried chmod 775 /directory and various other combiniations. Even tried chmod 777.
  6. #4
  7. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,997
    Rep Power
    9397
    Are there perhaps other restrictions enforced by the software? Speaking of, what software?
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Location
    South Africa
    Posts
    73
    Rep Power
    4
    Originally Posted by requinix
    Are there perhaps other restrictions enforced by the software? Speaking of, what software?
    No other restrictions that I can see / think of. I'm using FileZilla, Putty and Unix. And working from a Windows 7 machine of coarse.

    Used touch text.txt and the file was successfully created, and I was even able to copy this file created in this folder to my desktop.
  10. #6
  11. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,997
    Rep Power
    9397
    And what program is running the FTP service?

    As for other restrictions, creating the file in SSH and downloading it over FTP is very different from creating the file in FTP. I would expect that the former always works.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Location
    South Africa
    Posts
    73
    Rep Power
    4
    Originally Posted by requinix
    And what program is running the FTP service?

    As for other restrictions, creating the file in SSH and downloading it over FTP is very different from creating the file in FTP. I would expect that the former always works.
    Finally managed to resolve the issue. There was a problem with the config file.

    Had to Write_enable set it to yes

    Code:
    grep write /etc/vsftpd.conf
    # Uncomment this to enable any form of FTP write command.
    write_enable=YES

IMN logo majestic logo threadwatch logo seochat tools logo