Permissions Messed Up After Using Backup

Status
Not open for further replies.

bob124082

New Member
Messages
13
Reaction score
0
Points
0
I used a backup from the R1Soft Backup System to restore back to an earlier date after a failed update on the site. It messed up the permissions on my cache folder, which then causes the site to not function.

I get the following error on my website...
/home/bob12408/public_html/community/cache/ is NOT writable.

I get the following error from FTP after trying to set the permissions myself...
550 Could not change perms on cache: Permission denied: /public_html/community/0777 cache

I get the following error from cPanel file manager when modifying the permissions from there...
FileOp Failure on: /home/bob12408/public_html/community/cache: Operation not permitted

My cPanel username is bob12408, I am on Lotus, and my URL is http://scivtc.uni.cc/

I do have my own backup of the website, I simply used the x10 backup system to save time of having to upload files. Any help greatly appreciated.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
The permissions for the cache folder under phpBB should be 777 (as to why it needs that though, don't know). When you changed permissions what did you use, FTP or File Manager?
 
Last edited:

bob124082

New Member
Messages
13
Reaction score
0
Points
0
I used both, they both said permission denied (in FTP & cPanel) when changing it to 777, it's as if I lost CHMOD permissions on the folder(s).
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Sounds a bit odd here. Does your FTP client/cPanel report who would own the cache folder for your software? I've seen these errors occur when a user doesn't own a file on a server but somehow it wound up in their account.
 

bob124082

New Member
Messages
13
Reaction score
0
Points
0
I'm not sure who owns it, but cPanel shows the permissions of the file being 0750.
 

bob124082

New Member
Messages
13
Reaction score
0
Points
0
*bump*

I'm still having problems... even though my thread got locked. (Probably an auto-lock of some sort... :nuts:)
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Try creating test.txt in public_html and then running a quick test script:

PHP:
$f1 = fileowner( '/home/bob12408/public_html/test.txt' );
$f2 = fileowner( '/home/bob12408/public_html/community/cache' ) ;

echo "$f1 and $f2 " ;
exit();

The numbers should be the same if you own them both.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Seems like the cache directory has the owner set to 'root'.
 
Status
Not open for further replies.
Top