Results 1 to 7 of 7
Thread: Having a few basic troubles.
-
06-02-2005, 03:04 PM #1Web Hosting Master
- Join Date
- Jan 2004
- Location
- Ellesmere Port, Wirral, UK
- Posts
- 1,540
Having a few basic troubles.
Right, the problem lies with transfering files from one account, to another of a different user name and domain name.
I have account xxx123.com
and I tar'ed the files and moved them to:
xxx456.com. Now here is where the trouble is, via ftp I cant move or delete the files, which I believe is down to file ownership.
This isn't normally my line of business, thats what I hire techs for, but since this is a personal account i want to fix it myself
I get a 550 permission denied error. I have shell access.BTi-Hosting.co.uk High quality hosting, low low prices.
One step ahead of the competition - Today IS tomorrow.
FraudWise.Net - Fight the fraud!
-
06-02-2005, 03:50 PM #2Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
what is the user and group of the files?
ls -la file.tar█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com
-
06-02-2005, 03:53 PM #3Web Hosting Master
- Join Date
- Jan 2004
- Location
- Ellesmere Port, Wirral, UK
- Posts
- 1,540
The original owner is icewenet and the new user is imacag.
I tried chown -R icewenet:imacag public_html (after I tar xvf)BTi-Hosting.co.uk High quality hosting, low low prices.
One step ahead of the competition - Today IS tomorrow.
FraudWise.Net - Fight the fraud!
-
06-02-2005, 03:54 PM #4Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
I believe you would need to do chown -R icewenet:imacag public_html/*
█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com
-
06-02-2005, 03:56 PM #5Web Hosting Master
- Join Date
- Jan 2004
- Location
- Ellesmere Port, Wirral, UK
- Posts
- 1,540
That sorted it, thanks alot matey! Cant believe I was so close, but also so far
BTi-Hosting.co.uk High quality hosting, low low prices.
One step ahead of the competition - Today IS tomorrow.
FraudWise.Net - Fight the fraud!
-
06-03-2005, 02:49 PM #6Web Hosting Master
- Join Date
- Jan 2004
- Location
- Ellesmere Port, Wirral, UK
- Posts
- 1,540
Right, after doing this, it let me delete, move, chmod files, but I couldn't upload to the account.
So I ran /scripts/chownpublichtmls and it fixed it. So any idea what that script does?BTi-Hosting.co.uk High quality hosting, low low prices.
One step ahead of the competition - Today IS tomorrow.
FraudWise.Net - Fight the fraud!
-
06-03-2005, 03:55 PM #7Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
when you did chown public_html/* it chowned every file under the public_html directory, not the public_html directory itself
█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com