Link to home
Create AccountLog in
Avatar of innovateusa
innovateusa

asked on

I cannot change permissions or access several files

I'm trying to backup a website, however there are a few files that I cannot access.  I tried using the cpanel file manager and ftp.  I get permission denied, in ftp the attributes are 660 (owner and group can read/write).  If I try changing this I get access denied.  I tried logging in with the primary ftp account, and then created a new ftp, neither will let me access the files.
Any ideas?
Avatar of rslqld
rslqld
Flag of Australia image

What is the current owner and group set to?
Avatar of innovateusa
innovateusa

ASKER

ah.. it's set to user "3206" and group "3206" while everything else is set to the regular ftp login user.    Should I try creating an ftp user called 3206 or do you know where to find that user in cpanel?  
I tried setting up 3206 as ftp, it still has the same permissions as my regular login.  I also tried making a full backup from cpanel, it made a tar file of the entire site except for those files with the 3206 permission.  
So the files are owned by a user called 3206 or uid=3206?  Simple way to test, create a user with uid of 3206 by using the -u parameter of adduser.  Then login as said person and attempt to read/write to the files.
As above ^^
where do I use the the adduser -u?  In ftp or in cpanel somewhere?  
ASKER CERTIFIED SOLUTION
Avatar of rslqld
rslqld
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I did chown -R at at the shell, that fixed it