On Fri, Aug 22, 2008 at 1:31 PM, Loureiro, Gil <[EMAIL PROTECTED]> wrote:
> I've seen that the SITE CHMOD command is not supported, that in the case of
> my application is Ok because user should never change permission.

The reason for it not being supported is that Java does not currently
allow setting file permissions. There are some third-party libs that
could be investigated for this, but they will be dependent on the OS
so I'm a bit reluctant. Also, the upcoming new file API does allow for
setting file permissions, hopefully coming in Java 7.

> But, if I create a new dir, from both fs or ftp, the permissions are always
> rw for the owner, is it possible to set the default permission for a certain
> user?

No, not at the moment. Patches welcome of course :-)

/niklas

Reply via email to