[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-06 Thread ASF subversion and git services (JIRA)

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

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

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

QPID-5398: Fix cut 'n paste error in sys/posix/Path.cpp

Posix Path::IsAbsolute() function was checking for windows-style paths.

 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread Alan Conway (JIRA)

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

Alan Conway commented on QPID-5398:
---

Fix up for review: https://reviews.apache.org/r/16018/
I think this should go on 0.26

 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread Justin Ross (JIRA)

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

Justin Ross commented on QPID-5398:
---

I'm inclined to say this should wait for 0.28.  Is there a workaround for 0.26 
users?

 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread Alan Conway (JIRA)

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

Alan Conway commented on QPID-5398:
---

They can put their ACL files under the brokers data-directory and use a 
relative path in their configuration.


 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread ASF subversion and git services (JIRA)

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

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

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

QPID-5398: Minor improvement to log message.

 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5398) qpidd --acl-file does not work with a drive-prefixed path on windows.

2013-12-05 Thread ASF subversion and git services (JIRA)

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

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

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

QPID-5398: Minor improvement to log message.

Fix typo in previous commit.

 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org