piranna / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

ACL system for pyFilesystem. #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I may have missed something, but I think a missing feature of pyFilesystem (and 
certainly something I need) is an ACL system.

I see this as a simple WrapFS class that can fetch permissions given a user, 
path combo. It would then enforce restrictions on file system activity based on 
the returned ACL. It would be the implementer's job to fetch ACLs, but the 
WrapFS would handle all the other complexities.

Do you think this is something that would be generally useful? Are you open to 
accepting the contribution of such a system?

Are there additional requirements beyond what I mentioned above?

This feature is a requirement for my use of pyFilesystem, I can either maintain 
it in-house, or push it upstream, based on your feedback in this matter.

Original issue reported on code.google.com by btimby@gmail.com on 31 Dec 2011 at 4:48

GoogleCodeExporter commented 9 years ago
Just for reference: this briefly got discussed on the mailing list
http://groups.google.com/group/pyfilesystem-discussion/browse_thread/thread/16de
03af0e2ec093/

Original comment by gc...@loowis.durge.org on 24 Aug 2012 at 10:28

GoogleCodeExporter commented 9 years ago
I'd really be happy just to have an error I could raise when someone does 
something they're not supposed to. Right now if a user tries to write to a 
directory they don't have permission to write to, the best I can do is raise a 
"ParentDirectoryMissingError" which leads to confusing error messages. It would 
be nice if there were a "PermissionDeniedError" or similar.

Original comment by aus...@gmail.com on 5 Sep 2012 at 4:42

GoogleCodeExporter commented 9 years ago
Nevermind, the PermissionDeniedError exists, it's just not documented.

Original comment by aus...@gmail.com on 5 Sep 2012 at 4:51

GoogleCodeExporter commented 9 years ago
Closing this for now. Open to adding an implementation if somebody has written 
one.

Original comment by willmcgugan on 9 Sep 2013 at 8:41