[ 
http://jira.codehaus.org/browse/MUNIX-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trygve Laugstol closed MUNIX-6.
-------------------------------


> set-attributes doesn't pick up paths that aren't explicitly created with 
> mkdirs
> -------------------------------------------------------------------------------
>
>                 Key: MUNIX-6
>                 URL: http://jira.codehaus.org/browse/MUNIX-6
>             Project: Maven 2.x Unix Plugin
>          Issue Type: Bug
>    Affects Versions: later
>         Environment: Fedora 9, Maven unix plugin 1.0-alpha-3, java 1.6.0_11
>            Reporter: Marius Gravdal
>            Assignee: Trygve Laugstol
>            Priority: Minor
>             Fix For:  1.0-alpha-4
>
>
> Trying this:
> {noformat} 
>  <mkdirs>
>                 <paths>
>                         <path>${rpm.path}/logs/child1path>
>                         <path>${rpm.path}/logs/child2</path>
>                 </paths>
>  </mkdirs>
> {noformat} 
> and then this:
> {noformat} 
> <set-attributes>
>                 <basedir>${rpm.path}/logs</basedir>
>                 <fileAttributes>
>                         <user>${rpm.username}</user>
>                         <group>${rpm.groupname}</group>
>                         <mode>0775</mode>
>                 </fileAttributes>
> </set-attributes>
> {noformat} 
> results in the "logs"-folder being owned by root:root with "standard" 
> permissions, while child1 and child2 has the correct permissions.
> If I add another mkdir for ${rpm.path}/logs, the correct user/group and 
> permissions is also applied to the "logs" folder.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to