when the Package Manager installs the files that come from a PackMan
it installs them with a Owner/Group of 99 99 and they cannot be moved,
deleted, etc.
to be able to move and delete them I need Owner/Group 935 935, BUT
how do I change those numbers?
Can this be done?
TIA
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
So I cannot do this if I am in a shared server?
or I can do it via .htaccess?
SO, is this a problem of how the account is configured or
a problem on how PackMan packages the files or
a problem on how Package Manager unpacks the packet?
I do not have this problems with any other files in my
accounts...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
It is an issue with your server; PHP is writing the files with the account PHP is set to write files with.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
That said, you might be able to change the System Settings:
new_file_permissions
new_folder_permissions
(Add these if they’re not there)
To whatever CHMOD perms you want them to be. This might fix your issue, assuming your FTP/SSH user is in the same group as the PHP user)
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
I dont think they are CHMOD problems,
they are CHOWN and CHGRP which I think
I cannot manipulate.
The CHMOD permissions are perfect!
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
This is what my host answered:
What method does the PHP script use to create files?
Apache is configured to create proper permissions for files.
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner
fwrite, move_uploaded_file, and every other standard file moving thing in PHP.
If you can’t edit files in FTP, then that’s because your FTP user is != PHP user, OR your 2 users are not in the same group.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com