LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 08:53 AM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

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
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, 10:10 AM   #3
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration