Hi, Dave, Franz,

I'm not sure is it possible to implement that commands in Java. The simplest
solution will be to call system chmod commands, depends on system OS. But it
is not 100% pure Java.

2006/1/11, Dave Roberts <[EMAIL PROTECTED]>:
> It was 11/01/2006 06:45, when Franz Stumpner wrote:
> > I'm using Apache FTP on Debian Sarge Linux, after I transferred files to
> > the FTP Server the owner of the file is always root:root and readable
> > for owner and group.
> You should carefully consider the security implications of allowing
> such a command.  If your files are uploaded as root, then you don't
> want remote users setting the setuid and execute bits.  Apologies if
> this is obvious to you.

Sergey Vladimirov

Reply via email to