Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 20:28:05 +0000
From:      Phillip Neumann <bob@sofsis.cl>
To:        questions@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ftpd
Message-ID:  <41F408D5.6090002@sofsis.cl>
In-Reply-To: <20050125134203.A33566@maren.thelosingend.net>
References:  <41F04E8A.4060101@sofsis.cl> <20050125134203.A33566@maren.thelosingend.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050400020304040402080109
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



Svein Halvor Halvorsen wrote:

>* Phillip Neumann [2005-01-21 00:36 -0000]
>  
>
>> 2)
>> 
>> I dont understand permitions...
>> 
>> i.e.
>> lftp usuarioftp@localhost:~> ls root-file
>> -rw-------  1 root        wheel         0 Jan 22 19:12 root-file
>> lftp usuarioftp@10.0.0.56:~> mv root-file why_can_i_do_this
>> rename successful
>>    
>>
>
>
>I'm guessing that the directory in which the file resides is writable for 
>the ftp-user. The user cannot read or write to the file itself, but it can 
>read and write to the directory. That means that the user can delete and 
>rename any file in that directory, but not copy (because that requires 
>read-permissions).
>
>  
>
Your right, The root directory is writeable by the ftp user. But if i do 
not let the dir writeable, the user will not be able to upload anything...

How would i setup things, so users can upload and download, but not 
delete nor rename?

thanks in advance!

-- 




_________________________
Phillip Neumann
phillip@sofsis.cl
www.sofsis.cl


--------------050400020304040402080109--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F408D5.6090002>