Cool! the umask() is what I have to set prior to mkdir() for this to work. Thanks Jason & Marek
-Matias "Matias Silva" <[EMAIL PROTECTED]> wrote in message news:20021024225108.24906.qmail@;pb1.pair.com... > Hi-ya all, here's a quickie....... > > In my script I create a directory (mysql.backup.timestamp/) within a > directory called backup/. > I use the function mkdir("mysql.backup.timestamp", "0777"); and it shows > the permissions > as after the function executes: > > dr----x--t 2 nobody daemon 1024 Oct 24 15:16 > mysql.backup.October-24-2002-1516 > > Where's the permissions (dr----x--t 2 nobody daemon) coming from? Is it > the php.ini, apache conf or > the operating system? > > I would like to set the owner to "root" and the group to "nc". How can this > be achieved > by the php script? Or do I have set this up in the other environments (OS > or Apache)? > > Cheers! > -Matias > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php