A directory has to have execute privileges for you to be able to do anything within it. A mode of 666 does not have execute privileges for anyone, while 777 does.
Chris --- Anil Garg <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to upload a file in to a > directory(which has mode 666) > It gives the followring error: > ------------ > Warning: stats failed for > /netvcr/www/archive/data1.cab (errno=13 - > Permission denied) in > /z/mercury/www/data/content/admin/do_upload.php on > line 16 > ----------- > but it works fine if the directory has a mode of > 777. > > Can anyone help me by telling how i can i upload > this OR suggest some other > way to keep my documents more secure?? > > Any pointers are appreciated. > anil garg > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php