I am using ccnet 1.5.x.  I have recently stumbled on a problem where
the zip file produced by the Package Publisher has security
permissions that prevent regular users from accessing the file (which
do via a read-only network share).  However, the manifest that is
written in the same folder DOES provide the User group permissions and
so regular users can access it.  Has anyone else encountered this
problem?  I get the same result when running as a service or the
console app.

My publisher section looks like this:

<publishers>
        <merge>
                <files>
                        <file>*-results.xml</file>
                </files>
        </merge>
        <xmllogger/>
        <package>
                <name>cctest.zip</name>
                <compression>9</compression>
                <always>false</always>
                <flatten>false</flatten>
                <manifest type="defaultManifestGenerator" />
                <files>
                        <file>test.bat</file>
                </files>
        </package>
        <statistics/>
</publishers>

The resulting folder has two files: cctest.zip and the CCTest-
packages.xml.
cctest.zip has permissions granted: SYSTEM and Administrators groups,
service_username (the username that the service runs as).
However, CCTest-packages.xml has: SYSTEM, Administrators, and Users
groups.
The Users group is the key permission missing on the zip archive.

Does anybody have a suggestion for how to fix this?

At some point previously, I did not see this behavior.  But I've been
unable to determine what change occured that caused this behavior.

Thanks!
-Kelly

Reply via email to