Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-12-2010, 08:53 AM   #1
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE Leap 42.3
Posts: 368

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, 09:02 AM   #2
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

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

#man chown
Old 01-12-2010, 10:10 AM   #3
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE Leap 42.3
Posts: 368

Original Poster
Rep: Reputation: 30

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


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 03:24 AM
help req in chown command vishnu Solaris / OpenSolaris 1 07-21-2006 07:05 AM
!!!! Urgent, using chown command ? AQG Linux - Security 8 08-12-2005 03:21 PM
So... I used Chown command and screwed my pc... Nosram Linux - Newbie 3 01-20-2004 06:09 AM
chown command help ksgill Linux - Newbie 9 04-28-2003 10:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 AM.

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