2015-04-19 21:54:44 +00:00
|
|
|
import sys
|
2014-04-13 18:26:46 +00:00
|
|
|
|
2015-04-19 21:54:44 +00:00
|
|
|
if sys.platform.startswith('linux'):
|
2014-04-13 18:26:46 +00:00
|
|
|
from attic.platform_linux import acl_get, acl_set, API_VERSION
|
2015-04-19 21:54:44 +00:00
|
|
|
elif sys.platform.startswith('freebsd'):
|
2014-04-27 12:17:09 +00:00
|
|
|
from attic.platform_freebsd import acl_get, acl_set, API_VERSION
|
2015-04-19 21:54:44 +00:00
|
|
|
elif sys.platform == 'darwin':
|
2014-05-03 13:10:11 +00:00
|
|
|
from attic.platform_darwin import acl_get, acl_set, API_VERSION
|
2014-04-13 18:26:46 +00:00
|
|
|
else:
|
2015-03-18 17:21:04 +00:00
|
|
|
API_VERSION = 2
|
|
|
|
|
|
|
|
def acl_get(path, item, st, numeric_owner=False):
|
2014-04-13 18:26:46 +00:00
|
|
|
pass
|
2015-03-18 17:21:04 +00:00
|
|
|
|
2014-04-13 18:26:46 +00:00
|
|
|
def acl_set(path, item, numeric_owner=False):
|
|
|
|
pass
|