You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/04/04 19:55:21 UTC

[Bug 1215] New - Ant Assumes Apache User ID With No Permissions

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1215

*** shadow/1215	Wed Apr  4 10:55:21 2001
--- shadow/1215.tmp.2342	Wed Apr  4 10:55:21 2001
***************
*** 0 ****
--- 1,44 ----
+ +============================================================================+
+ | Ant Assumes Apache User ID With No Permissions                             |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1215                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Blocker                  OS/Version: Solaris                 |
+ |     Priority: High                      Component: Core                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: bretttmw@hotmail.com                                         |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Hello,
+ 
+ Task:  Create Web-based Deployment System using Ant
+ Tools: 
+   Apache 
+   Tomcat 
+   XSL To read build.xml and display
+   PERL 5.0 Script (deploy.pl) to issue Ant build command
+   Ant 1.3
+ 
+ Problem Definition:
+ setup:
+    -Apache user is "nobody"
+    -deploy.pl script has permissions of -rwsr-xr-x (note the s flag to switch 
+ to owner to run the script) and Owner of root
+    -Ant Target Move_File_To_Dir is called and expected to move the files as 
+ root to root-owned directory.
+ 
+ BUG/ISSUE:
+    -Ant reassumes the permissions of "nobody" instead of holding onto "root" 
+ permissions and recieves/issues FileNotFound(permission denied) exception when 
+ trying to copy a file.  This occurrs in both <EXEC executable=cp> and <COPY> 
+ tasks.  
+ 
+ If this is a bug great! If there is a work-around that won't compromise my 
+ security great! Please let me know.
+ 
+ Thank you, Bret Williams