Jump to content

Folder / File Permissions


Telfie

Recommended Posts

When I attempt to upgrade - within a test environment on my Mac - I unstuff the files into the appropriate directory. But when I look at the permissions, they are 777 (folders) and 755 (files). If I load them to the server, they will not be functioning correctly as I run on suPHP.

 

So, I need a script to go through and recursively alter the file permissions on my local test environment before loading to the server for upgrading. I found a script - but it doesn't appears to work.

 

Any thoughts?

 

System Info:

  • MAMP Pro
  • PHP5
  • Max OS X

 

Alternatively ... a script that will be able to change the permissions on the cPanel Server ...

 

PS... This is the PHP error

 PHP Warning:  chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in

Edited by Telfie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated