Bug 612187 - The root-level gacl in the gridsite package uses an old syntax
Summary: The root-level gacl in the gridsite package uses an old syntax
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gridsite   
(Show other bugs)
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-07 14:00 UTC by Mattias Ellert
Modified: 2010-10-14 23:02 UTC (History)
1 user (show)

Fixed In Version: gridsite-1.5.19-1.fc13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-10-08 12:38:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Mattias Ellert 2010-07-07 14:00:50 UTC
Description of problem:

The root-level gacl in the gridsite package is the following:

<?xml version="1.0"?>
 <gacl>
 <entry>
   <any-user/>
   <allow><list/><read/></allow>
 </entry>
 <entry>
   <auth-user/>
   <allow><read/><write/><list/><admin/></allow>
 </entry>
</gacl>

(The indentation of the <gacl> start tag is a bit off)

This GACL uses an old format. This format is still understood, but if I
write a short program that reads it and then writes it out again I get
the following:

<?xml version="1.0"?>
<gacl version="0.9.0">
<entry>
<cred>
<auri>gacl:any-user</auri>
</cred>
<allow><read/><list/></allow>
</entry>
<entry>
<cred>
<auri>gacl:auth-user</auri>
</cred>
<allow><read/><list/><write/><admin/></allow>
</entry>
</gacl>

Version-Release number of selected component (if applicable):
gridsite-1.5.18-4

Additional info:

Here is the program:

#include <libxml/tree.h>
extern "C" {
#include <gridsite.h>
#include <gridsite-gacl.h>
}
int main() {
  GACLacl *acl = GACLloadAcl("test.gacl");
  GACLsaveAcl("test2.gacl", acl);
}

Comment 1 Fedora Update System 2010-09-28 16:47:17 UTC
gridsite-1.5.19-1.el4 has been submitted as an update for Fedora EPEL 4.
https://admin.fedoraproject.org/updates/gridsite-1.5.19-1.el4

Comment 2 Fedora Update System 2010-09-28 16:47:31 UTC
gridsite-1.5.19-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gridsite-1.5.19-1.fc14

Comment 3 Fedora Update System 2010-09-28 16:47:47 UTC
gridsite-1.5.19-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/gridsite-1.5.19-1.el5

Comment 4 Fedora Update System 2010-09-28 16:48:03 UTC
gridsite-1.5.19-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gridsite-1.5.19-1.fc13

Comment 5 Fedora Update System 2010-09-28 18:35:14 UTC
gridsite-1.5.19-1.el4 has been pushed to the Fedora EPEL 4 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gridsite'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gridsite-1.5.19-1.el4

Comment 6 Fedora Update System 2010-10-08 12:38:16 UTC
gridsite-1.5.19-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-10-14 18:23:44 UTC
gridsite-1.5.19-1.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-10-14 18:24:42 UTC
gridsite-1.5.19-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-10-14 23:02:30 UTC
gridsite-1.5.19-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.