Page 1 of 1

Changing ownership of folders created via php mkdir

Posted: Fri Oct 06, 2006 9:20 am
by Kadanis
Hi

Basically, the app I'm working on needs to create a directory when a new user is added. I used the mkdir command to do this, and it works fine. But it sets both the User and Group ownership to apache (I'm using Fedora Core 4 btw)

Is there anyway that the User ownership can be changed? It needs to be changed to localftp, which is another user account on the server.

Thanks

D

Posted: Fri Oct 06, 2006 9:28 am
by Burrito
have a look here: you should

Posted: Fri Oct 06, 2006 10:03 am
by Kadanis
lol... thanks mate

obviously at this time on a friday after a very stressful week i missed that completely. my bad :)