LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2010, 09:53 AM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE 11.4
Posts: 363

Rep: Reputation: 30
How to use the chown command


my home/container has me as the owner but the contents all belong to root...I've tried >chown cbjhawks /home/cbjhawks but that didnt change anything. Should it be >chown -R cbjhawks /home/cbjhawks? Or what is the proper command for doing this...thanks
 
Old 01-12-2010, 10:02 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
#su
#chown -v --recursive username /home/username/*
#chown -v --recursive username /home/username/*.*

#man chown
 
Old 01-12-2010, 11:10 AM   #3
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE 11.4
Posts: 363

Original Poster
Rep: Reputation: 30
amani....thanks....

thanks you so much...they worked perfectly...will remember/retain them
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with chown command brokenpromises Linux - Newbie 2 09-05-2007 04:24 AM
help req in chown command vishnu Solaris / OpenSolaris 1 07-21-2006 08:05 AM
!!!! Urgent, using chown command ? AQG Linux - Security 8 08-12-2005 04:21 PM
So... I used Chown command and screwed my pc... Nosram Linux - Newbie 3 01-20-2004 07:09 AM
chown command help ksgill Linux - Newbie 9 04-28-2003 11:52 PM


All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration