• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Is it safe to have web folders in PSASERV group?

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?
 
No one knows?

Ok, I'm still having some issues here. I don't think that my above solution is the right one...

So does anyone know how to get permissions issues settled? I can't chmod, mkdir, create/move files, etc. That is, I can't do these things with the default permissions on these folders/files.

The error message displayed is 'permission denied', not something about open_basedir. But is that a similar issue?

OK, I have to go to bed... does anyone have any insight?
 
Ok, I still doubt that no one else is running into these issues. I've seen numerous posts for open_basedir and issues alike... but my errors have nothing to do with open_basedir problems. Instead, it's a simple permissions problem. In the past, setting a folder and its contents to 0755 was okay... allowing access by PHP to open, edit, save, move, etc. However, even with these permissions, it's not working.

My only solution was as above, but recently I changed this to owner/group>> apache:apache. This also works... but again... is this what I'm supposed to do?
 
Back
Top