www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristian "Gáspari" <gasp...@ub.edu.ar>
Subject general/5892: Can't change uid of a file
Date Thu, 16 Mar 2000 13:41:54 GMT

>Number:         5892
>Category:       general
>Synopsis:       Can't change uid of a file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Thu Mar 16 05:50:00 PST 2000
>Originator:     gaspari@ub.edu.ar
>Release:        1.3.6
SunOS localhost 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-Enterprise
Hello all,
I'm trying to change the UID of file created with a script, but I get "chown: 
file: Not owner".
I have the file and the script:
/www/cgi-bin> ls -l
total 2
-rwxr-xr-x   1 www      www          175 Mar 16 09:49 cambio.cgi*
-rw-r--r--   1 www      www            0 Mar 16 09:36 prueba

cambio.cgi contains:
/www/cgi-bin> cat cambio.cgi
chown gaspari:webmail prueba
echo Content-Type: text/plain

HTTPD is running as www:www

The script runs fine, but i can't get chown work. Does anyone known what i'm doing wrong?

Thanks in advance!!



 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message