[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: simple ftp problem



Hi Robins,

Do you wish to share your dos partition for the anonymous user or
for some other user on your system?

If you wish to share it for a non-anonymous user, say for 'rbs', you
need to give it all permissions by:

# mount /dev/hda1 /dir/to/mount -o uid=`id -u rbs`

Then you can either just cd to /dir/to/mount after ftp'ing or you can
make a symbolic link:

$ ln -s /dir/to/mount ~/dos

Hope this helps,
Loki.

>>>>> "Robins" == Robins Tharakan <vavilu@xxxxxxxxx> writes:

    Robins> hi, i was actually feeling stupid at this simple problem,
    Robins> or so to me it seems.  i need to share my "dos" partition
    Robins> using ftp (with read/write facilities)

    Robins> i guess i sure am missing out some simple method of doing
    Robins> this, but here's what all i tried..!

    Robins> 1. mount /dev/hda1 to /var/ftp/pub/dos (but write access
    Robins> was denied..)

    Robins> 2. i tried to add a user "rbs" to the ftp group. and then
    Robins> connect fo ftp using "rbs".

    Robins> 3. "chown rbs:rbs /var/pub" (although its security wise
    Robins> insane, but anyways, even that didnt work..-- probably coz
    Robins> /var was owned by root:root...)

    Robins> 4. tried to create a hard link for /dos , but hard link
    Robins> for directories is not allowed...

    Robins> ! please, if anyone could help me out...


-- 
Cricket scoreboard for linux 
For more info, visit http://scoreboard.sourceforge.net