Report message:*
 

Re: Php handlers like suphp as related to .tar.gz file ownership (chown) and permissions (chmod)

Subject: Re: Php handlers like suphp as related to .tar.gz file ownership (chown) and permissions (chmod)
by thomas on 2008/2/9 12:05:41

Quote:


MrTheme wrote:
If you are using winscp to execute the untar. Which I am sure you are. You can create a custom command to set all folder permissions and file permission.

Check the winscp doxs for setting up a custom command.



Yep point takin although I cannot seems to get the right strings I need setup in winscp. However in putty from root is where I have had my success. You would think the same commands would work in winscp but they just error out. I have searched google big time trying to find a cheat sheet. So if you or anybody else has one it will make support here alot better.

On another point... Sometimes a user would come into the forums on xoops and soon to be here. Based on what I have experienced the last few days or so. I know some of these user will have the same problem. So part of my post is meant for the docs section and the other part is to ask if this can be fixed in the releases done of the cms from the get go. This really is the best way to do it. Why release a package that has permissions on it already?

Let the server decide what permissions the package will have once its uncompressed.

Anyway here is a few commands that have proven results.

chown owner.owner -R /home/owner/public_html/

chown owner.nobody /home/owner/public_html

Please add to the list if possible. Also remember that I can only get the two above to work in putty at root.