diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-12-04 06:39:31 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-12-04 06:39:31 +0000 |
commit | 3d43b2db28db679ac4d779da853bd3f04873c9e8 (patch) | |
tree | 4a12ee8e935480e9dc9534d393e8fef27bab4382 | |
parent | 3a01ece497557c3c18f27aa144460f700ba17457 (diff) | |
download | samba-3d43b2db28db679ac4d779da853bd3f04873c9e8.tar.gz samba-3d43b2db28db679ac4d779da853bd3f04873c9e8.tar.bz2 samba-3d43b2db28db679ac4d779da853bd3f04873c9e8.zip |
fixed setting ACLs on directories
(This used to be commit 117956ecb1878f09708a5dc76ec81ad3cfa8d809)
-rw-r--r-- | source3/utils/smbcacls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index b2fef1ec83..52a5ea769c 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -276,7 +276,7 @@ static void cacl_dump(struct cli_state *cli, char *filename) int fnum; SEC_DESC *sd; - fnum = cli_open(cli, filename, O_RDONLY, 0); + fnum = cli_nt_create(cli, filename); if (fnum == -1) { printf("Failed to open %s\n", filename); return; @@ -313,7 +313,7 @@ static void cacl_set(struct cli_state *cli, char *filename, return; } - fnum = cli_open(cli, filename, O_RDONLY, 0); + fnum = cli_nt_create(cli, filename); if (fnum == -1) { printf("Failed to open %s\n", filename); return; |