Professional Web Applications Themes

Two directory trees with ProFTP - Linux Setup, Configuration & Administration

Hi, in my FTP I'd like some users (assigned to the ftpusers group) to have access to just the ftp-directory (up/download) but users belonging to the users group should have access to both the ftp-directory and their home directory. TIA /Kejpa...

  1. #1

    Default Two directory trees with ProFTP

    Hi,
    in my FTP I'd like some users (assigned to the ftpusers group) to have
    access to just the ftp-directory (up/download) but users belonging to
    the users group should have access to both the ftp-directory and their
    home directory.

    TIA
    /Kejpa

    Kejpa Guest

  2. #2

    Default Re: Two directory trees with ProFTP

    Kejpa wrote:
    > Hi,
    > in my FTP I'd like some users (assigned to the ftpusers group) to have
    > access to just the ftp-directory (up/download) but users belonging to
    > the users group should have access to both the ftp-directory and their
    > home directory.
    >
    > TIA
    > /Kejpa
    >
    This is a bit tricky to set up. chroot is really supposed to put them in
    their own home directory, without access to others.

    Can't you just give them appropriate group permissions to be able to
    enter and read/write/execute in their own directory and the group
    directory, and not be able to read/write/execute others?

    Nico Kadel-Garcia Guest

  3. #3

    Default Re: Two directory trees with ProFTP

    >
    > Can't you just give them appropriate group permissions to be able to
    > enter and read/write/execute in their own directory and the group
    > directory, and not be able to read/write/execute others?
    >
    Yeah, I might. But how?
    The users tree is in /home/*
    The ftp tree is in /var/www/ftp/*

    Any help appreciated.

    /Kejpa

    Kejpa Guest

  4. #4

    Default Re: Two directory trees with ProFTP

    Kejpa wrote:
    >>
    >> Can't you just give them appropriate group permissions to be able to
    >> enter and read/write/execute in their own directory and the group
    >> directory, and not be able to read/write/execute others?
    >>
    >
    > Yeah, I might. But how?
    > The users tree is in /home/*
    > The ftp tree is in /var/www/ftp/*
    >
    > Any help appreciated.
    Arrggh. OK, to be sly, put the user's homedir in a ProFTPd passwd file
    as being /var/www/ftp/home/{username}. Then NFS mount the user
    homedirectories to that location.

    But making people's real home directories accessible via NFS is often a
    very, very bad idea for security reasons, because FTP does not use
    encrypted passwords or data and people's passwords can and will be
    sniffed unless you engage in all sorts of additional tomfoolery.

    Can you get away with just creating homedirs for them in the FTP
    directory, and making a symbolic link to a default "ftp" location in
    their homedirectories?

    Nico Kadel-Garcia Guest

Similar Threads

  1. ProFTP timed out
    By mh9000 in forum Linux / Unix Administration
    Replies: 1
    Last Post: June 9th, 02:27 AM
  2. Trees
    By Nath in forum PERL Modules
    Replies: 4
    Last Post: December 31st, 12:23 PM
  3. TREES... Where do I find them?
    By BuddyNewbie webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 2
    Last Post: October 14th, 09:06 PM
  4. Proftp notify
    By Pawel Slabiak in forum Debian
    Replies: 1
    Last Post: July 3rd, 10:10 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139