projects
/
gapil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2f434
)
Usare il tipo corretto di ACL da chiedere.
author
Simone Piccardi
<piccardi@gnulinux.it>
Sat, 28 Jan 2012 15:51:24 +0000
(15:51 +0000)
committer
Simone Piccardi
<piccardi@gnulinux.it>
Sat, 28 Jan 2012 15:51:24 +0000
(15:51 +0000)
sources/mygetfacl.c
patch
|
blob
|
history
diff --git
a/sources/mygetfacl.c
b/sources/mygetfacl.c
index fc4ca8e42766470166a7c48722e2114c6c3016e0..4d450b6c836278d9024d0640ed3fd905b5112478 100644
(file)
--- a/
sources/mygetfacl.c
+++ b/
sources/mygetfacl.c
@@
-87,7
+87,7
@@
int main(int argc, char *argv[])
}
/* main body */
errno = 0;
- acl = acl_get_file(argv[1], ACL_TYPE_
DEFAULT
);
+ acl = acl_get_file(argv[1], ACL_TYPE_
ACCESS
);
if (acl == NULL) {
printf("error on getting ACL for file %s\n", argv[1]);
perror(argv[1]);