<![CDATA[ [YAMS] yams.config.inc.php rights and ownership problem - My Forums]]> https://forums.modx.com/thread/?thread=45623 <![CDATA[Re: [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-394332
Since YAMS writes the file on first run, it will be owned by whatever the user is that the .php script is run by. This is either the web server user, or the owner of the running .php script (you, or whoever uploaded MODx in the first place). If it's the web server user (www, apache, nobody or something like that) then you as your FTP user won't be able to do anything with it.

]]>
sottwell Sep 22, 2011, 03:22 AM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-394332
<![CDATA[Re: [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-394327
Warning: chmod() [function.chmod]: Operation not permitted

:-(]]>
fabryshock Sep 22, 2011, 02:22 AM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-394327
<![CDATA[Re: [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263925

Have swing]]>
virtualbear May 25, 2011, 04:17 PM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263925
<![CDATA[Re: [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263924
Once again, thank you so much grin]]>
kevin_kun May 25, 2011, 09:55 AM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263924
<![CDATA[Re: [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263923

you know what, when i run into that kind of issue i’ve my personnal salvage solution... i put a file name chmod.php (for example) on the server with
<?php
chmod("the/path/to/thefile.php", 0777);
?>

and i put that file url in my browser, problem solved...

put the file in the assets directory for example as it is excluded from the url rewriting rules, this way you can call it simply with http://www.yoursite.com/assets/chmod.php

hope it will help

Have swing]]>
virtualbear May 25, 2011, 09:28 AM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263923
<![CDATA[ [YAMS] yams.config.inc.php rights and ownership problem]]> https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263922
Everything is in the title.
yams.config.inc.php rights are chmod 600 and I’m not the owner of this file (and only this one !)... So I can’t change the rights (or I don’t know how to).

It’s a problem for me as I make a backup of the site everyday with a scheduled task using a FTP connection and I can’t download this file...

Any idea to solve this problem ?
Thank you in advance smiley]]>
kevin_kun May 25, 2011, 05:04 AM https://forums.modx.com/thread/45623/yams-yams-config-inc-php-rights-and-ownership-problem#dis-post-263922