| 
														
															@@ -1,4 +1,5 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import os 
														 | 
														
														 | 
														
															 import os 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import stat 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 from libc cimport errno 
														 | 
														
														 | 
														
															 from libc cimport errno 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -162,7 +163,8 @@ def acl_get(path, item, st, numeric_ids=False, fd=None): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         _get_acl(path, ACL_TYPE_NFS4, item, 'acl_nfs4', flags, fd=fd) 
														 | 
														
														 | 
														
															         _get_acl(path, ACL_TYPE_NFS4, item, 'acl_nfs4', flags, fd=fd) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     else: 
														 | 
														
														 | 
														
															     else: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         _get_acl(path, ACL_TYPE_ACCESS, item, 'acl_access', flags, fd=fd) 
														 | 
														
														 | 
														
															         _get_acl(path, ACL_TYPE_ACCESS, item, 'acl_access', flags, fd=fd) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        _get_acl(path, ACL_TYPE_DEFAULT, item, 'acl_default', flags, fd=fd) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if stat.S_ISDIR(st.st_mode): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            _get_acl(path, ACL_TYPE_DEFAULT, item, 'acl_default', flags, fd=fd) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 cdef _set_acl(path, type, item, attribute, numeric_ids=False, fd=None): 
														 | 
														
														 | 
														
															 cdef _set_acl(path, type, item, attribute, numeric_ids=False, fd=None): 
														 |