Hi, I'm using the following configuration for creating a Debian assembly with
the UNIX plugin:

(unix-maven-plugin:package-deb)

            <copyDirectory>
              <fileAttributes>
                <user>root</user>
                <group>root</group>
                <mode>0755</mode>
              </fileAttributes>
              <from>${project.build.directory}/${finalName}</from>
              <includes>
                <include>**.sh</include>
              </includes>
              <to>/opt/pkg-${artifactId}</to>
            </copyDirectory>

The .sh files are nicely there, though in rw-r--r-- permissions (both in the
build directory and in the .deb package). Am I doing something wrong, or is
this a bug? I tried looking in the code (a lot!), but I can't figure out
where these permissions are supposed to be applied while writing these files
to the build directory.

As a matter of fact, a quick tests indicates that I'm suffering the same
problem when doing package-rpm.

I used today's trunk/HEAD version (r10633).

Thanks already for any assistance!
-- 
View this message in context: 
http://www.nabble.com/UNIX-plugin-appears-not-to-set-permissions-for-copyDirectory-tp25355701p25355701.html
Sent from the mojo - user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to