The Samba-Bugzilla – Attachment 2947 Details for
Bug 5027
Perms in do_mkstemp are not always valid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make sure the user has write permission to the temp file
rsync-write-perms.patch (text/plain), 413 bytes, created by
Chris Adams
on 2007-10-19 21:01:05 UTC
(
hide
)
Description:
Make sure the user has write permission to the temp file
Filename:
MIME Type:
Creator:
Chris Adams
Created:
2007-10-19 21:01:05 UTC
Size:
413 bytes
patch
obsolete
>diff -urN rsync-2.6.9-dist/syscall.c rsync-2.6.9/syscall.c >--- rsync-2.6.9-dist/syscall.c 2007-10-19 20:49:29.000000000 -0500 >+++ rsync-2.6.9/syscall.c 2007-10-19 20:53:02.000000000 -0500 >@@ -190,6 +190,7 @@ > { > RETURN_ERROR_IF(dry_run, 0); > RETURN_ERROR_IF(read_only, EROFS); >+ perms |= S_IWUSR; > > #if defined HAVE_SECURE_MKSTEMP && defined HAVE_FCHMOD && (!defined HAVE_OPEN64 || defined HAVE_MKSTEMP64) > {
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 5027
: 2947