The Samba-Bugzilla – Attachment 1345 Details for
Bug 2933
regression with hardlinked devices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow devices (etc.) to get their permissions updated
mode.patch (text/plain), 554 bytes, created by
Wayne Davison
on 2005-07-31 21:14:49 UTC
(
hide
)
Description:
Allow devices (etc.) to get their permissions updated
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2005-07-31 21:14:49 UTC
Size:
554 bytes
patch
obsolete
>--- generator.c 31 Jul 2005 23:18:28 -0000 1.220 >+++ generator.c 1 Aug 2005 04:06:03 -0000 >@@ -812,9 +812,9 @@ static void recv_generator(char *fname, > } > > if (am_root && preserve_devices && IS_DEVICE(file->mode)) { >- if (statret != 0 || >- st.st_mode != file->mode || >- st.st_rdev != file->u.rdev) { >+ if (statret != 0 >+ || (st.st_mode & ~CHMOD_BITS) != (file->mode & ~CHMOD_BITS) >+ || st.st_rdev != file->u.rdev) { > if (delete_item(fname, st.st_mode, DEL_TERSE) < 0) > return; > if (preserve_hard_links && file->link_u.links
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 2933
:
1344
| 1345