2 Replies Latest reply on Dec 15, 2002 9:23 PM by danesem

    war file permissions

    danesem


      how to get ant to war up a file (jsp, class file, ect) w/ permissions set a+x ? i tried sudo ant and just using jar tool directly, my jarred files are read only.

      Using jboss-3.0.4 and redhat7

      thanks, md

        • 1. Re: war file permissions
          mikefinn

          Have you tried chmod task on the WAR in Ant after creating it? Check your umask (if UNIX) for default file permissions.

          mike

          • 2. Re: war file permissions
            danesem

            thanks, i did try the chmod ant task. seems the jar/war task runs last, coping files w/ restricted permissions.

            umask 000, umask 777 resets the mask but war files still coming out restricted. will dig deeper with umask/env settings-thanks again. md