photo

James Crabtree

shared this question
7 months ago

Employees Involved

photo

PIV Support

Admin

Statistics

1
Comments
1
Views

Relates to

Share

Tags

1
votes

Odd permission problem at step 2

I'm running through the installation process and get to step 2. The installer lists a number of files and directories and lists the permission levels required for each.

No problem. I do the chmod and they are all set. However, when I re-run the installer I get a weird error. The installer has an issue with the file common.dist.php. It wanted a chmod value of 644, but when set the installer returns with...

This tool will guide you through setting up your Open-Realty®

install. Before you begin you must have created a blank database on your

system. You must also have file permissions set so the following files

and directories are writeable by the web server.

Step 1: Check File Permissions:

Permission on ../include/common.dist.php are incorrect (0)

Permission on ../include are correct

Permission on ../images/listing_photos are correct

Permission on ../images/user_photos are correct

Permission on ../images/vtour_photos are correct

Permission on ../images/page_upload are correct

Permission on ../images/blog_uploads are correct

Permission on ../files/listings are correct

Permission on ../files/users are correct

Permission on ../addons are correct

Permission on ../files/browsercap_cache are correct

Chmod 0? Really?

I've tried with 644 which I think is the original and even 755 like the other file but I get the same message.

I did even try chmod 0... but it did not work.

Can you assist in fixing this?

Regards,

JC

Add Comment

Comments (1)

photo Employee
1

I think you are seeing a 0 because PHP cannot determine the permissions (or possibly ownership) of that file.

If your host is running a suPHP or suExcec environment (highly recommended) you don't need to change permissions at all, all files are 644 and folders are 755. If not, you'll need to make sure the permissions are set so that the user APACHE is running as has permission to read/write those folders and files.

Having to set permissions is rarely needed anymore except at some old budget hosts that still run APACHE and PHP as the user APACHE and not as the user the account belongs to.

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 20M