The Samba-Bugzilla – Attachment 1087 Details for
Bug 2346
saving excel files when using ACLs gives problems with permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix read-only problem by Excel
samba-3.0.10-excel-readonly.patch (text/plain), 792 bytes, created by
MORIYAMA Masayuki
on 2005-03-22 17:37:36 UTC
(
hide
)
Description:
Patch to fix read-only problem by Excel
Filename:
MIME Type:
Creator:
MORIYAMA Masayuki
Created:
2005-03-22 17:37:36 UTC
Size:
792 bytes
patch
obsolete
>--- samba-3.0.10.orig/source/smbd/posix_acls.c 2004-12-15 23:33:17.000000000 +0900 >+++ samba-3.0.10/source/smbd/posix_acls.c 2005-03-22 13:54:37.000000000 +0900 >@@ -1105,7 +1105,7 @@ > else if (got_grp && uid_entry_in_group(pace, pace_group)) > pace->perms = pace_group->perms; > else >- pace->perms = 0; >+ pace->perms = unix_perms_to_acl_perms(pst->st_mode, S_IRUSR, S_IWUSR, S_IXUSR); > > apply_default_perms(fsp, pace, S_IRUSR); > } else { >@@ -1968,7 +1968,7 @@ > * A default 3 element mode entry for a directory should be rwx --- ---. > */ > >- pst->st_mode = create_default_mode(fsp, False); >+ pst->st_mode = create_default_mode(fsp, True); > > if (!ensure_canon_entry_valid(&file_ace, fsp, pfile_owner_sid, pfile_grp_sid, pst, True)) { > free_canon_ace_list(file_ace);
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 2346
: 1087 |
1119
|
1203
|
1213
|
4130