Results 1 to 8 of 8

Thread: Incorrect Permissions for FTP user's home directory. . .

  1. #1
    Join Date
    Jul 2008
    Location
    New York
    Beans
    820
    Distro
    Ubuntu Development Release

    Question Incorrect Permissions for FTP user's home directory. . .

    Hi! I have enabled anonymous uploads for my vsftpd powered FTP server. Not to worry, as it is behind a firewall. However, I think the permissions are wrong for the ftp user's directory, as I get a "Permission denied" error. What are the correct permissions for /home/ftp?

    Thanks in Advance!
    If it jams, force it. If it breaks, it needed replacing anyway. . .
    I like Unity.

  2. #2
    Join Date
    May 2007
    Location
    San Antonio, TEXAS
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Incorrect Permissions for FTP user's home directory. . .

    Quote Originally Posted by pi.boy.travis View Post
    Hi! I have enabled anonymous uploads for my vsftpd powered FTP server. Not to worry, as it is behind a firewall. However, I think the permissions are wrong for the ftp user's directory, as I get a "Permission denied" error. What are the correct permissions for /home/ftp?

    Thanks in Advance!
    Hi, are you wanting permissions from just your self or for anyone, or just a group of people?
    Our only ignorance is our own intelligence
    Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install|
    Linux user number 479043 | Ubuntu User number is # 24065

  3. #3
    Join Date
    Jul 2008
    Location
    New York
    Beans
    820
    Distro
    Ubuntu Development Release

    Re: Incorrect Permissions for FTP user's home directory. . .

    Thanks for the reply!

    Yes, anyone should have access to the ftp directory. This server is for my computer behind my firewall to share files. I was using samba, but I figured FTP would be faster and better suit my Linux clients.
    If it jams, force it. If it breaks, it needed replacing anyway. . .
    I like Unity.

  4. #4
    Join Date
    May 2007
    Location
    San Antonio, TEXAS
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Incorrect Permissions for FTP user's home directory. . .

    Quote Originally Posted by pi.boy.travis View Post
    Thanks for the reply!

    Yes, anyone should have access to the ftp directory. This server is for my computer behind my firewall to share files. I was using samba, but I figured FTP would be faster and better suit my Linux clients.
    if you want everyone to have full access to that file do this
    in the cli
    Code:
    chmod 777 /home/ftp
    Our only ignorance is our own intelligence
    Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install|
    Linux user number 479043 | Ubuntu User number is # 24065

  5. #5
    Join Date
    Jul 2008
    Location
    New York
    Beans
    820
    Distro
    Ubuntu Development Release

    Re: Incorrect Permissions for FTP user's home directory. . .

    Quote Originally Posted by k33bz View Post
    if you want everyone to have full access to that file do this
    in the cli
    Code:
    chmod 777 /home/ftp

    WOW. . . that was easy. . .

    Thanks!
    If it jams, force it. If it breaks, it needed replacing anyway. . .
    I like Unity.

  6. #6
    Join Date
    Jul 2008
    Location
    New York
    Beans
    820
    Distro
    Ubuntu Development Release

    Re: Incorrect Permissions for FTP user's home directory. . .

    OK, now I am having some issues:

    If I access the server using firefox, I get: ERROR500, child died

    If I use nautilus, I get: Could not open anonymous@192.168.1.150, nautilus can't handle 'ftp' locations. Same thing if I use the 'Connect to server' dialog

    If I use gFTP, I can upload files and create directories, but I can't delete anything. Is there a way to allow my clients to delete files?
    If it jams, force it. If it breaks, it needed replacing anyway. . .
    I like Unity.

  7. #7
    Join Date
    May 2007
    Location
    San Antonio, TEXAS
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Incorrect Permissions for FTP user's home directory. . .

    using chmod 777 would allow complete access to the file or directory, read, edit, even execute, for everyone. I am not sure why you are not able to delete them.

    Have you tried using it through your actual IP address and not your local IP apdress?
    Our only ignorance is our own intelligence
    Linux Is not Windows | Atheros 5007 Wifi Chipset Hardy (8.04LTS) Install|
    Linux user number 479043 | Ubuntu User number is # 24065

  8. #8
    Join Date
    Jul 2008
    Location
    New York
    Beans
    820
    Distro
    Ubuntu Development Release

    Re: Incorrect Permissions for FTP user's home directory. . .

    OK, I did some research, and it turns out that vsftpd gets upset if you change the ftp user's home directory's permissions. So, I tried it with a folder I made inside /home/ftp and it worked, but I still can't delete files. I think that perhaps this is by design, you wouldn't want someone else to be able to delete your files, would you?
    If it jams, force it. If it breaks, it needed replacing anyway. . .
    I like Unity.

Tags for this Thread

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
  •