Correct group permission bits with -acl off and import of disk file with ACL.

New API function iso_local_get_perms_wo_acl().
This commit is contained in:
2009-02-07 21:00:43 +01:00
parent b5fd981482
commit d7f691d6df
4 changed files with 336 additions and 7 deletions

View File

@@ -331,4 +331,23 @@ void iso_dir_iter_unregister(IsoDirIter *iter);
void iso_notify_dir_iters(IsoNode *node, int flag);
/* ts A90128 */
/**
* See API function iso_node_set_permissions()
*
* @param flag bit0= do not adjust ACL
* @return >0 success , <0 error
*/
int iso_node_set_perms_internal(IsoNode *node, mode_t mode, int flag);
/* ts A90207 */
/**
* Like iso_node_get_acl_text() with param node replaced by aa_string and
* st_mode from where to obtain the ACLs. All other parameter specs apply.
*/
int iso_aa_get_acl_text(unsigned char *aa_string, mode_t st_mode,
char **access_text, char **default_text, int flag);
#endif /*LIBISO_NODE_H_*/