LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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

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

Rep: Reputation: 272Reputation: 272Reputation: 272
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
sklitzz
Member
 
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
dosnlinux
Member
 
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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 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