Results 1 to 2 of 2

Thread: SFTP allow multiple users to upload file into a directory

Hybrid View

  1. #1

    SFTP allow multiple users to upload file into a directory


    I have configured SFTP using openssh version-4.3. I can upload files with the user.

    My requirement is to allow other specified users to upload or download the files into the same directory, and restrict some of the users to access the directory.

  2. #2
    redhead's Avatar
    Join Date
    Jun 2001
    Copenhagen, Denmark
    This requires permission setting on the filesystem level, if the directory is placed within the users home directory it is unwise to permit everybody else access, but if it is placed outside teh users domain, you can add both users to teh same group and add write/read permission to that group on the directory the files are beeing stored under.
    All they need to specify is where to place the files ie:
    # sftp file.ext my_user@location:/var/shared/userfiles
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. Putting multiple users in newly created group in one shot.
    By hrishikesh in forum Redhat / Fedora
    Replies: 0
    Last Post: 06-22-2008, 12:31 PM
  2. password restrictions, multiple users
    By sabre in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 04-22-2006, 07:22 AM
  3. change path of users home directory
    By atomicmak in forum Linux - General Topics
    Replies: 2
    Last Post: 04-03-2005, 09:51 AM
  4. How do I send a single email to multiple users?
    By fhester in forum Linux - General Topics
    Replies: 1
    Last Post: 07-21-2004, 07:32 AM
  5. setsysfont: findacm: no such file or directory
    By x in forum Linux - General Topics
    Replies: 0
    Last Post: 02-17-2003, 10:46 AM


Posting Permissions

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