Re: [PHP] mkdir and directory permissions

2002-10-25 Thread @ Edwin
Hello, Just a few comments... And no, I'm not Jason :) "Monty" <[EMAIL PROTECTED]> wrote: > Hi Jason, I have a follow-up question about mkdir. If the files created by > mkdir are owned by 'nobody', does that create a security risk for those > files? No, not really. > If so, how does one get aro

Re: [PHP] mkdir and directory permissions

2002-10-25 Thread Monty
Hi Jason, I have a follow-up question about mkdir. If the files created by mkdir are owned by 'nobody', does that create a security risk for those files? If so, how does one get around accepting files via an upload form that are assigned to a user other than 'nobody'? Monty -- PHP General Mail

Re: [PHP] mkdir and directory permissions

2002-10-25 Thread Marek Kilimajer
Actualy, you can use chgrp(), but apache must be a member of the group you are changing to. Jason Wong wrote: On Friday 25 October 2002 06:51, Matias Silva wrote: Hi-ya all, here's a quickie... In my script I create a directory (mysql.backup.timestamp/) within a directory called backup/.

Re: [PHP] mkdir and directory permissions

2002-10-25 Thread Jason Wong
On Friday 25 October 2002 06:51, Matias Silva wrote: > 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 t

[PHP] mkdir and directory permissions

2002-10-24 Thread Matias Silva
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: drx--t 2 nobodydaemon1024