Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Right on FTPServer/FileSystem

    Hi all,

    I'm a new Debian administrator and I have a question about FTP.

    I use Proftpd (with TLS) to access documents. By twisting the conf file, I can restrict right on folder per user.

    For example,

    John can read /var/ftp/x
    James can read and write /var/ftp/x


    In order to work, John and James must have a valid system account, so they can log with ssh (I need it for a svn+ssh server)... My problem is that I cannot set a valid permission on directory /var/ftp/x in order to allow james to RW and John to R.

    Is there a solution for this?


  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    You could chown it to Jame's account and chgrp it to John's group, and perm it accordingly. Or you could set up ACL support, which is a major pain.

  3. #3
    I would just set them us as members of different groups. John's group gets only read perms on the dir, while Jame's gets rw.

  4. $spacer_open
  5. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    I would advise to use GNU Rush - Restricted user shell

    With that you can restrict the interactive shell access to svn only.
    Therefore you can de-couple ftp from svn a bit more
    You must always face the curtain with a bow.

Posting Permissions

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