2014-04-13 18:26:46 +00:00
|
|
|
import os
|
|
|
|
|
2014-04-13 18:34:32 +00:00
|
|
|
platform = os.uname()[0]
|
2014-04-13 18:26:46 +00:00
|
|
|
|
|
|
|
if platform == 'Linux':
|
|
|
|
from attic.platform_linux import acl_get, acl_set, API_VERSION
|
2014-04-27 12:17:09 +00:00
|
|
|
elif platform == 'FreeBSD':
|
|
|
|
from attic.platform_freebsd import acl_get, acl_set, API_VERSION
|
2014-05-03 13:10:11 +00:00
|
|
|
elif platform == 'Darwin':
|
|
|
|
from attic.platform_darwin import acl_get, acl_set, API_VERSION
|
2014-04-13 18:26:46 +00:00
|
|
|
else:
|
|
|
|
API_VERSION = 1
|
|
|
|
|
|
|
|
def acl_get(path, item, numeric_owner=False):
|
|
|
|
pass
|
|
|
|
def acl_set(path, item, numeric_owner=False):
|
|
|
|
pass
|