Posted on 2010-01-05
Last Modified: 2013-12-16
i have installed vsftpd on Fedora 12.
i have created users on Fedora and each can log on to that machine.
they have their own home directory
my intention was to create a shared fodler and create sub-folder for each users so they can upload files in there own foders.
for an example create sahred folder under ftp folder or under the root.
install samba and give access to microsoft windows users to that shared folder.
some reson the ftp upload goes to each desktop instead of shred folder becuase of that microsoft  winodws users will not be able to see that desktop.
how do i make this happen?
i would appreciate if you can send me the link.
Question by:pdsmicro
    LVL 35

    Accepted Solution

    Here's the method to be applied:

    For your special purpose, this would translate to:
    1. Create the shared folder at some place, say: /var/shared (do not create it in the /root folder)

    2. Create user folders underneath the shared one, say:
    # mkdir /var/shared/user1
    # mkdir /var/shared/user2

    3. Create shared folders in the users' home:
    # mkdir /home/user1/shared_ftp
    # mkdir /home/user2/shared_ftp

    4. mount and bind those new folders:
    # mount --bind /var/shared/user1 /home/user1/shared_ftp
    # mount --bind /var/shared/user2 /home/user2/shared_ftp

    Give samba access to /var/shared

    The bindings will be lost on rebooting the server, so either include them in a startup script, or add them to /etc/fstab as recommended in the quoted article.

    Author Closing Comment

    Thank you very much, this is what i wanted. i will give a try.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now