cPanel, WHM, Fantastico - Reseller Hosting, Reseller Accounts, Domain Resellers - ADSL, Broadband, Dialup, FRAICO, Unmetered - Servers, Dedicated, Counter Strike, Game Servers
HostingResellersDomainsvpsDedicated ServersSupport
 
 
Register
 
Get New Posts
 
Search
 
User CP
xilo forum    
image image
Go Back   XILO Community Forum > Customer Support > Support Queries > Problem with permissions
Support Queries This forum should be used to contact XILO's support team should you have any problems with your account.

Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
iain2_uk iain2_uk is offline
Reseller
iain2_uk is on a distinguished road
 
Posts: 98
Join Date: Dec 2005
Question Problem with permissions - 25/06/2007, 9:57 AM

Around 7am today I started to receive errors from clientexec, saying it was unable to open a file

When I've checked the file, it appears the permissions were changed to 000 from 644

I've tried changin the permissions I get access denied.

I'm able to rename the file and upload a new copy, however can anyone explain why the permission has been changed.

The file is /public_html/client/services.php.old

Cheers
Reply With Quote
  (#2 (permalink)) Old
Kieran Kieran is online now
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 766
Join Date: Apr 2006
Location: Leeds, England
Default Re: Problem with permissions - 25/06/2007, 10:34 AM

You should be able to change such permissions via chmod so long as your username is still the owner of the file. Who owns the file(s) with the 000 permissions?
Reply With Quote
  (#3 (permalink)) Old
iain2_uk iain2_uk is offline
Reseller
iain2_uk is on a distinguished road
 
Posts: 98
Join Date: Dec 2005
Default Re: Problem with permissions - 25/06/2007, 10:41 AM

Owner is showing as 32021 and group is 32022 on both the problem file, and the file I re-uploaded

trying to change permissions gives me:-

Code:
 
[10:38:43] SITE CHMOD 644 services.php.old
[10:38:43] 550 Could not change perms on services.php.old: Permission denied
Reply With Quote
  (#4 (permalink)) Old
Kieran Kieran is online now
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 766
Join Date: Apr 2006
Location: Leeds, England
Default Re: Problem with permissions - 25/06/2007, 10:53 AM

Yes, it would I'm afraid because the owner is not your username; I'm not quite sure how that has happened.

You could try and change the permissions using the CPanel file manager as that runs with elevated permissions but restricts you in a different way to compensate (an example of this is allowing you to access your clients home directories as a reseller whereas when logged in using SSH using the reseller account you can't). This difference may well allow you to change the permissions on those files, but obviously not the owner of them, the root user would need to do that.
Reply With Quote
  (#5 (permalink)) Old
iain2_uk iain2_uk is offline
Reseller
iain2_uk is on a distinguished road
 
Posts: 98
Join Date: Dec 2005
Default Re: Problem with permissions - 25/06/2007, 10:59 AM

That user seems to be the one against all my files, and I don;t have problems with any others.

However, as you said, the file manager allowed me to change the permissions

Can you offer any suggestions why this has occurred?
Reply With Quote
  (#6 (permalink)) Old
Kieran Kieran is online now
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 766
Join Date: Apr 2006
Location: Leeds, England
Default Re: Problem with permissions - 25/06/2007, 11:04 AM

I'm afraid I can't; files created and modified by php should be owned by your username, thats how suexec works. The fact that they aren't now is very odd indeed.

Your best thing to do is raise a ticket with the username of the account with the problem and ask for your files to be chowned back to you - I do not have root access to the server to make this change for you.

For fault-finding purposes on the error, if you create a file using a php program now, what user owns the file and what are the permissions on it?
Reply With Quote
  (#7 (permalink)) Old
iain2_uk iain2_uk is offline
Reseller
iain2_uk is on a distinguished road
 
Posts: 98
Join Date: Dec 2005
Default Re: Problem with permissions - 27/06/2007, 4:08 PM

I've just had the same problem occurr again with the same file

Clientexec reported an error, unabel to access services.php, permissions are set to 000, and I can't change them via ftp

The owner and group entries are as per the rest of the files on my space, so I don;t understand why.

I've moved the file to a subfolder so I can reupload it.

Kieran or Matt - If it would be helpful for you to have a look at the file, I can create an FTP login to that subfolder for you


Cheers
Reply With Quote
  (#8 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: Problem with permissions - 27/06/2007, 4:11 PM

Iain,

Please raise a ticket re this. Can tell you what is going on there.

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions on a config file iain2_uk Support Queries 3 17/07/2006 5:46 PM
Permissions moteintheeye Support Queries 6 27/05/2006 11:56 AM


All times are GMT +1. The time now is 10:52 AM.

Powered by vBulletin


split

XILO Communications Ltd.
Registered in England and Wales: 6451134
VAT Registered: GB 930 3394 39
Prices exclude VAT at 17.5%

We accept all major debit and credit cards via WorldPay and payments via PayPal
COPYRIGHT © 2002- XILO Communications Ltd.
ALL RIGHTS RESERVED