[ 
https://issues.apache.org/jira/browse/VFS-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401439#comment-13401439
 ] 

Benjamin Piwowarski commented on VFS-405:
-----------------------------------------

The patch 0001 adds basic permission support in the form of a FileProperties 
(more general) object that can be accessed through getFileProperties in 
FileObject. In the patch, there are four types of properties:
- FileProperties: the abstract base class
- AbstractPermission: the abstract base class for permission properties
- JavaPermissions: java like file permissions
- PosixPermissions: POSIX (user/group/others) permissions

The patch provides initial support for sftp and local filesystem.

Benjamin
                
> Get/set the file permissions
> ----------------------------
>
>                 Key: VFS-405
>                 URL: https://issues.apache.org/jira/browse/VFS-405
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Damian Waszak
>         Attachments: permissions-0001.patch
>
>
> Add possibility to change file permissions through VFS, similar to executing 
> *chmod* command on a file.
> Simple use case scenario would be to move a file to SFTP server, and then 
> retrieve and change the permissions, e.g. exececute chmod 0644.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to