Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
14dfad38
Commit
14dfad38
authored
Oct 05, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple tweaks to the AIX ACL code.
parent
21546571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sysacls.c
lib/sysacls.c
+2
-2
No files found.
lib/sysacls.c
View file @
14dfad38
...
...
@@ -2239,7 +2239,7 @@ int sys_acl_get_info(SMB_ACL_ENTRY_T entry, SMB_ACL_TAG_T *tag_type_p, uint32 *b
return
-
1
;
if
(
*
tag_type_p
==
SMB_ACL_USER
||
*
tag_type_p
==
SMB_ACL_GROUP
)
*
u_g_id_p
=
entry
->
ace_id
->
id_data
;
memcpy
(
u_g_id_p
,
entry
->
ace_id
->
id_data
,
sizeof
(
id_t
))
;
permset
=
&
entry
->
ace_access
;
...
...
@@ -2452,7 +2452,7 @@ int sys_acl_set_file( const char *name, SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl
memcpy
(
acl_entry
->
ace_id
->
id_data
,
&
user_id
,
sizeof
(
uid_t
));
}
rc
=
chacl
(
name
,
file_acl
,
file_acl
->
acl_len
);
rc
=
chacl
(
(
char
*
)
name
,
file_acl
,
file_acl
->
acl_len
);
DEBUG
(
10
,(
"errno is %d
\n
"
,
errno
));
DEBUG
(
10
,(
"return code is %d
\n
"
,
rc
));
SAFE_FREE
(
file_acl
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment