Re: [vfs] File permissions

2012-06-29 Thread Benjamin Piwowarski
Hi Gary, Yes I saw it - I will work on this next week. Benjamin On Jun 29, 2012, at 17:20 , Gary Gregory wrote: > Benjamin, > > Did you see my comments in > https://issues.apache.org/jira/browse/VFS-405?focusedCommentId=13402280&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabp

Re: [vfs] File permissions

2012-06-29 Thread Gary Gregory
Benjamin, Did you see my comments in https://issues.apache.org/jira/browse/VFS-405?focusedCommentId=13402280&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13402280 ? Are you subscribed to JIRA emails? Gary On Wed, Jun 27, 2012 at 8:41 AM, Benjamin Piwowarski < b

Re: [vfs] File permissions

2012-06-27 Thread Gary Gregory
Thanks Benjamin, I'll check it out. Gary On Wed, Jun 27, 2012 at 8:41 AM, Benjamin Piwowarski < benjamin.piwowar...@lip6.fr> wrote: > Hi, > > I posted a patch following the "simple solution for VFS2": > > https://issues.apache.org/jira/browse/VFS-405 > > Benjamin > > > On Jun 26, 2012, at 18:20

Re: [vfs] File permissions

2012-06-27 Thread Benjamin Piwowarski
Hi, I posted a patch following the "simple solution for VFS2": https://issues.apache.org/jira/browse/VFS-405 Benjamin On Jun 26, 2012, at 18:20 , Gary Gregory wrote: > On Tue, Jun 26, 2012 at 11:46 AM, Benjamin Piwowarski < > benjamin.piwowar...@lip6.fr> wrote: > >> Hi, >> >> On Jun 26, 201

Re: [vfs] File permissions

2012-06-26 Thread Gary Gregory
On Tue, Jun 26, 2012 at 11:46 AM, Benjamin Piwowarski < benjamin.piwowar...@lip6.fr> wrote: > Hi, > > On Jun 26, 2012, at 17:36 , Gary Gregory wrote: > > > After a brief glance, my first impression is that we should stick to > > something more simple, like we have now on FileObject. We have > > is

Re: [vfs] File permissions

2012-06-26 Thread Benjamin Piwowarski
Hi, On Jun 26, 2012, at 17:36 , Gary Gregory wrote: > After a brief glance, my first impression is that we should stick to > something more simple, like we have now on FileObject. We have > isWritable(), so we could add setWritable(). > > Adding a class hierarchy and more fancy permissions feels

Re: [vfs] File permissions

2012-06-26 Thread Gary Gregory
After a brief glance, my first impression is that we should stick to something more simple, like we have now on FileObject. We have isWritable(), so we could add setWritable(). Adding a class hierarchy and more fancy permissions feels like it leaks into Java 7-land. I see two avenues: - a simple

Re: [vfs] File permissions

2012-06-26 Thread Benjamin Piwowarski
Hi, I started to implement a file permission (or more generally a file properties) framework for VFS. I attached a patch to VFS-405 issue ( https://issues.apache.org/jira/browse/VFS-405 ) since it matches the bug description. The patch 0001 adds basic permission support in the form of a FilePr

Re: [vfs] File permissions

2012-06-25 Thread Gary Gregory
On Mon, Jun 25, 2012 at 1:03 PM, Benjamin Piwowarski wrote: > Hi all, > > I was wondering if there were any plans for the "Get/set the file > permissions" item in the TODO list. I would like to contribute on that (at > least for sftp and local), but I would like to know the planned > architecture

[vfs] File permissions

2012-06-25 Thread Benjamin Piwowarski
Hi all, I was wondering if there were any plans for the "Get/set the file permissions" item in the TODO list. I would like to contribute on that (at least for sftp and local), but I would like to know the planned architecture for such a feature (if any). Thanks Benjamin Piwowarski