You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Latorre (JIRA)" <ji...@apache.org> on 2010/04/27 14:35:33 UTC
[jira] Commented: (FTPSERVER-370) Include in the user profile the
the user and group owner for new ones
[ https://issues.apache.org/jira/browse/FTPSERVER-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861384#action_12861384 ]
David Latorre commented on FTPSERVER-370:
-----------------------------------------
My suggestion is that you create an FTPlet which intercepts onUploadEnd method and changes the permissions to the desired ones.
Changing file permissions won't happen at least until NIO 2 but still I think there's much room for improvement in this area....
Can't you use any of the methods listed in our wiki page to bind to port 21 while running as a regular user?
> Include in the user profile the the user and group owner for new ones
> ---------------------------------------------------------------------
>
> Key: FTPSERVER-370
> URL: https://issues.apache.org/jira/browse/FTPSERVER-370
> Project: FtpServer
> Issue Type: Wish
> Components: Core
> Environment: Any
> Reporter: Aniceto Pérez y Madrid
> Fix For: WISHLIST
>
>
> Frequently it's required to run Ftpserver as root in Linux to be able to bind to port 21. The good part is it can read and write anything. The bad part is all files and folders are created as root user and group and sometimes that is not good.
> It would be interesting to have optional user properties to
> - set the user and group attributes for new files and folders
> - select to force or not user:group attributes for new ones
> I think files and folders readability should only be restricted by the underlying OS and the user running ftpserver.
> Probably that feature maybe initially available for Linux and Unix platforms, later for Windows and another ones.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.