The Samba-Bugzilla – Attachment 804 Details for
Bug 404
smbcacls doesn't change ownership/group?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow owner and group-entries to be set with -S or -M
diff (text/plain), 693 bytes, created by
Guenther Deschner
on 2004-11-22 18:07:11 UTC
(
hide
)
Description:
allow owner and group-entries to be set with -S or -M
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2004-11-22 18:07:11 UTC
Size:
693 bytes
patch
obsolete
>Index: utils/smbcacls.c >=================================================================== >--- utils/smbcacls.c (revision 3915) >+++ utils/smbcacls.c (working copy) >@@ -657,6 +657,14 @@ > } > } > >+ if (sd->owner_sid) { >+ old->owner_sid = sd->owner_sid; >+ } >+ >+ if (sd->grp_sid) { >+ old->grp_sid = sd->grp_sid; >+ } >+ > break; > > case SMB_ACL_ADD: >@@ -674,7 +682,7 @@ > sort_acl(old->dacl); > > /* Create new security descriptor and set it */ >- sd = make_sec_desc(ctx,old->revision, old->type, NULL, NULL, >+ sd = make_sec_desc(ctx,old->revision, old->type, old->owner_sid, old->grp_sid, > NULL, old->dacl, &sd_size); > > fnum = cli_nt_create(cli, filename, WRITE_DAC_ACCESS);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 404
: 804