From: Simone Piccardi Date: Sat, 28 Jan 2012 15:51:24 +0000 (+0000) Subject: Usare il tipo corretto di ACL da chiedere. X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=commitdiff_plain;h=4b983e1fa7af8e50b63cffe2e3780aa96412c14b;p=gapil.git Usare il tipo corretto di ACL da chiedere. --- diff --git a/sources/mygetfacl.c b/sources/mygetfacl.c index fc4ca8e..4d450b6 100644 --- 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]);