hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : permission denied - arrggh
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

permission denied - arrggh

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-16-2001, 03:19 PM
Christopher Christopher is offline
Junior Guru Wannabe
 
Join Date: Oct 2001
Posts: 72

permission denied - arrggh


Hi all,

I got a raq last week and am transitioning my sites over to it.

I will not be hosting other peoples sites, just have my own on it.

To transfer my sites over, I tar.gz'd them all up together and ftp'd them from the old server to the new. Then telnetted in, unzipped and moved them around into the correct directories under the 'virtual sites'.

That seemed to work ok, but now if I ftp in to update a few pages I get 'permission denied' all over the place.

I think that the permissions stayed the same during the move. But the 'owner' changed. The owner is now listed as 64911, and I don't have any users listed like that. This number is listed as the 'owner' throughout all the sites I transferred.

What I need to be able to do is to ftp in and make changes throughout the sites that I have. Looks like my solution would be to change the owner from 64911 to my user name - system wide.

Is this correct and if so, how would I go about doing changing the user name in the system?

Thank you,

Chris

Reply With Quote


Sponsored Links
  #2  
Old 10-16-2001, 04:06 PM
Pingu Pingu is offline
Junior Guru
 
Join Date: Jan 2001
Location: Netherlands
Posts: 236
Lemme dig into my knowledgebase...

Ok, here's what I came up with:

Change ownership of files and directories
Syntax: chown [OPTIONS] username/group file/directory
Options:
-v Verbose
-c Displays changes in ownership
-R recursive on all files and directories


To change ownership to user "username":

Telnet in (or better yet, use SSH)
Login as admin
Su to root
chown -v -c -R "username" webdirectory

Reply With Quote
  #3  
Old 10-16-2001, 04:23 PM
jahsh jahsh is offline
Web Hosting Guru
 
Join Date: Oct 2001
Location: san diego
Posts: 256
yup yup...chown -R username filename (-R is recursive ) goes down through all directories in that site

Reply With Quote
Sponsored Links
  #4  
Old 10-16-2001, 07:08 PM
Christopher Christopher is offline
Junior Guru Wannabe
 
Join Date: Oct 2001
Posts: 72
ah yes, that worked wonderfully

Life is so much easier when you can access your files!

Chris

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host ServInt Encourages Community Work with Customer Charity Award Web Hosting News 2012-03-08 11:12:54
Parallels “Cloud” Summit - It was all about TRUST Blog 2012-03-01 12:29:22
Data Center Firm Switch Communications Sues Canadian Man Over Copyright Infringement Web Hosting News 2011-11-10 18:11:24
SOCA Website Back Online After LulzSec DDoS Attack Web Hosting News 2011-06-21 15:06:30
Citi Says 200,000 Customers Credit Card Data Stolen in Hack Web Hosting News 2011-06-09 17:04:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?