Results 1 to 3 of 3

Thread: Vsftpd

  1. #1
    Join Date
    Jul 2005


    I hope this is the right place to ask about my problem and to get the answer.
    I have a small problem with vsftpd:

    I want to be able to overwrite files in apache root document through ftp. Basically make updates via ftp. That web root folder is owned by root and group root. The user that i use to login to ftp belongs to root group too so i can create files and folders in apache root dir but i cant overwrite any files. What should i do to be able to oevrwrite files in that dir ??

  2. #2
    Join Date
    Sep 2004
    New Jersey
    Check the permissions on the files themselves. To overwrite/modify a file you need to have write permission on the file itself. To add/remove files and directories you need to have write permission on its directory. Do the files you're trying to overwrite belong to the root group? If not then that's your problem.

    That said I would personally recommend setting up a different group that has write access to those files and directories instead of using the root group. Using the root group potentially gives it access to files you don't want it accessing. Using a different group will help reduce the odds of this being a security issue. Just my suggestion, though.

    Colynx, LLC. (
    Providing inexpensive Web, email, DNS hosting, and more. Now offering $8/yr domain registrations. Name your own price for hosting. Hosting should be on YOUR terms.

  3. #3
    Join Date
    Jul 2005
    Thanks for the replay. It was the permission. I got it working now fine.

Posting Permissions

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