qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.
Date Thu, 05 Dec 2013 20:35:35 GMT

    [ https://issues.apache.org/jira/browse/QPID-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840538#comment-13840538
] 

ASF subversion and git services commented on QPID-5398:
-------------------------------------------------------

Commit 1548279 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1548279 ]

QPID-5398: qpidd --acl-file does not work with a drive-prefixed path on windows.

On windows, acl-file was not recognizing drive-prefixed paths (e.g. c:\foo)
as absolute and was trying to interpret them relative to the brokers data-dir.

This commit fixes the problem and adds a general-purpose Path class that can be
a collection point for any other path-related portability problems that come up.

> qpidd --acl-file does not work with a drive-prefixed path on windows.
> ---------------------------------------------------------------------
>
>                 Key: QPID-5398
>                 URL: https://issues.apache.org/jira/browse/QPID-5398
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.24
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> The acl-file option does not correctly recognize windows paths of the form x:\... as
absolute paths and attempts to append them to the brokers data-dir
> To reproduce (on windows): qpidd --acl-file c:\path\to\policy.acl
> Result: log contains
> error Unable to open ACL file "<data-dir>/c:\path\to\policy.acl"
> Expected result: should load file correctly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message