Changing ownership of folders created via php mkdir
Posted: Fri Oct 06, 2006 9:20 am
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
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