[
https://issues.apache.org/jira/browse/VFS-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Piwowarski updated VFS-405:
------------------------------------
Attachment: permissions-0006.patch
New patch choose solve (2) - I modified some SSH server related code in order
to cache permissions and simulate a proper SSH server running on a machine with
posix permissions (or simulating them, like openssh). It would be good though
to test with an external SSH server running on windows, since the current
implementation relies on running two commands to get the user and group IDs.
> 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, permissions-0002.patch,
> permissions-0003.patch, permissions-0004.patch, permissions-0005.patch,
> permissions-0006.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