S
soarchrist
Guest
I cannot get php to be able to chmod and mkdir.... of course, this seems to be a permissions issue. I don't want to do the work-around of ftp... (in fact, I even tried and it didn't work).
The solution I found was to change the group of the folder that needed editing rights. So through ssh I "chgrp psaserv media/". This now allows my php scripts to make directories and files in the folder and yet it keeps my permissions at 775...
Is this safe? Is there another way that's better? I find this working, but I'm a bit concerned if I left something a little 'too' open.
Anyone have any ideas or insight?
The solution I found was to change the group of the folder that needed editing rights. So through ssh I "chgrp psaserv media/". This now allows my php scripts to make directories and files in the folder and yet it keeps my permissions at 775...
Is this safe? Is there another way that's better? I find this working, but I'm a bit concerned if I left something a little 'too' open.
Anyone have any ideas or insight?