Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 114019 Details for
Bug 162664
sys-apps/acl-2.2.39-r1 broken on jfs with nfs use-flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acl_set_file: Don't use XATTR_REPLACE on non-NFS files
acl-2.2.29-nfs-setxattr.patch (text/plain), 665 bytes, created by
Heath Kehoe
on 2007-03-21 22:10:25 UTC
(
hide
)
Description:
acl_set_file: Don't use XATTR_REPLACE on non-NFS files
Filename:
MIME Type:
Creator:
Heath Kehoe
Created:
2007-03-21 22:10:25 UTC
Size:
665 bytes
patch
obsolete
>--- libacl/acl_set_file.c.dist 2007-03-21 16:55:27.256857991 -0500 >+++ libacl/acl_set_file.c 2007-03-21 16:55:07.623739163 -0500 >@@ -50,6 +50,7 @@ > struct nfs4_acl * nacl; > int is_dir = NFS4_ACL_ISFILE; > #endif >+ int is_nfs = 0; > > if (!acl_obj_p) > return -1; >@@ -111,6 +112,7 @@ > > size = acl_nfs4_xattr_pack(nacl, &ext_acl_p); > name = ACL_NFS4_XATTR; >+ is_nfs = 1; > acl_nfs4_free(nacl); > } > #else >@@ -133,7 +135,7 @@ > if (!ext_acl_p) > return -1; > >- error = setxattr(path_p, name, (char *)ext_acl_p, size, XATTR_REPLACE); >+ error = setxattr(path_p, name, (char *)ext_acl_p, size, is_nfs ? XATTR_REPLACE : 0); > free(ext_acl_p); > return error; > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 162664
: 114019