Skip to content

Commit

Permalink
file_server: set 'store dos attributes = yes'
Browse files Browse the repository at this point in the history
This means we do not need the old permissions-based mappings.

Andrew Bartlett
  • Loading branch information
abartlet committed May 2, 2012
1 parent 5763301 commit 692b3bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions file_server/file_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ static const char *generate_smb_conf(struct task_server *task)
fdprintf(fd, "vfs objects = acl_xattr\n");
}

fdprintf(fd, "map hidden = no\n");
fdprintf(fd, "map system = no\n");
fdprintf(fd, "map readonly = no\n");
fdprintf(fd, "store dos attributes = yes\n");

fdprintf(fd, "include = %s\n", lpcfg_configfile(lp_ctx));

fdprintf(fd, "[IPC$]\n");
Expand Down

0 comments on commit 692b3bf

Please sign in to comment.