diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 12:49:42 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-29 11:22:02 +0100 |
commit | 0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba (patch) | |
tree | 59a3ec0f11fdbe1be9fe6f91bcdfd455fe3b79a7 /source3/param | |
parent | 5ba42b0a5bbd5ab1eaecd4301d8e5e7ee79db8e8 (diff) | |
download | samba-0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba.tar.gz samba-0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba.tar.bz2 samba-0d0eec9fb26cf6100a7671a1cf75e2a68a5dd3ba.zip |
s3: "parse_usershare_file" only looks at the mode and uid
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f43a11b2de..b07c81b867 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -8550,8 +8550,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx, /* Ensure the owner of the usershare file has permission to share this directory. */ - if (sys_stat(sharepath, &sbuf, - lp_fake_dir_create_times()) == -1) { + if (sys_stat(sharepath, &sbuf, false) == -1) { DEBUG(2,("parse_usershare_file: share %s : stat failed on path %s. %s\n", servicename, sharepath, strerror(errno) )); sys_closedir(dp); |