Permission problem - 644 works, 664 does not work

Status
Not open for further replies.

Krzys123

New Member
Messages
8
Reaction score
0
Points
0
Hi!

When I have a .php file with 644 permission everything works. If I change permission to 664 (add a "write allowed for group") I get
-------------------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, no-reply@x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-------------------------------------------------
Is it intentional or is it a bug? If I understand correctly, it I give more permissions it should work exactly as before or (at most) issue a more developer-friendly error.

(for Administrators who would like to test:
Simplest possible .php (<html><body>test</body></html>
http://cash4games.x10hosting.com/simple.php (currently 664 - does not work. If I change to 644 - works).

http://cash4games.x10hosting.com/index.php - 664, does not work
http://cash4games.x10hosting.com/test.php - 644, works (the content of both is identical)).

Note that this manifests itself only when using .php files. Html work regardless of permissions.

Could you test it on your site please? I would like to know if I sc%%%ed something up...

Yours sincerely,
Jaroslaw Krzyszewski.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
It is not a bug. It is intentional. For security reasons.

There is no reason to have group write permissions on x10hosting. If they are set that way on your local machine, you will just have to change them when you upload to x10.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Moreover, for learning purposes: you are the only user in your group on the machine... So you have no reason to add group write permissions.
 
Status
Not open for further replies.
Top