Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-17-2006, 03:45 PM   #1
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 541

Rep: Reputation: 34
Wink Chown Qustion.

How do I change the owner of the group portion of a directory entry.

The user portion is o.k. but the goup portion isn't.

I've used chown -r root .mozilla but only the user portion is changed like:

root users

should be:

root root

Old 02-17-2006, 03:50 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
Use a : like this

chown root:root .mozilla

or simply

chown :root .mozilla

Last edited by pljvaldez; 02-17-2006 at 03:53 PM.
Old 02-17-2006, 05:05 PM   #3
Registered: Feb 2006
Location: Croatia, Split
Distribution: Ubuntu 7.10
Posts: 93

Rep: Reputation: 15
Man pages are very good in solving this kind of problems
Old 02-17-2006, 05:38 PM   #4
Registered: Mar 2005
Distribution: slackware 11, arch 2007.08
Posts: 154

Rep: Reputation: 30
There is also a tool similar to chown called chgrp that will only change the group portion.

Last edited by dosnlinux; 02-17-2006 at 05:46 PM.


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
simply qustion:what does it mean ----------------- Intel ICH4?????????? leafleaves Linux - Hardware 2 08-15-2005 07:03 PM
firefox qustion bubagump17 Linux - Software 8 05-27-2005 07:47 AM
Qustion about adding user id to UUCP?? ccfrosty Linux - Newbie 2 03-15-2005 06:36 PM
trivial qustion: how use mysql? wellblue88 Linux - Enterprise 4 09-07-2004 02:34 PM
mail server qustion citrus Linux - Newbie 7 09-06-2004 04:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 PM.

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
Open Source Consulting | Domain Registration