Visit Jeremy's Blog.
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 07-27-2013, 03:40 PM   #1
LQ Newbie
Registered: Jul 2013
Posts: 9

Rep: Reputation: Disabled
Having difficulty changing group permissions

Hello Everyone
I typed the following in terminal

dan@dan-MS-7369:~/Documents$ sudo chgrp wheel run.txt
chgrp: invalid group: `wheel'

I wished to change the group to wheel but was denied. Does anyone know the reason for this.

Old 07-27-2013, 03:50 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,454

Rep: Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432Reputation: 1432
chgrp: invalid group: `wheel'
Did you check the /etc/passwd file to see if there is a 'wheel' group?
Old 07-27-2013, 03:56 PM   #3
LQ Newbie
Registered: Jul 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
no I didn't. don't assume it's there. IF that's a requirement I 'm going to have to edit the file, something I have no experience at.
Old 07-27-2013, 06:09 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
BTW to get a list of groups, look in /etc/group not /etc/passwd. You don't need to edit the password and group files by hand, groupadd and usermod will happily do the job for you.
Old 07-27-2013, 06:50 PM   #5
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Having difficulty changing group permissions

Check out the man pages on the commands mentioned. They have a number of options and should get the job done for you.
Old 07-27-2013, 07:31 PM   #6
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,664
Blog Entries: 17

Rep: Reputation: Disabled
# groups


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
Group permissions: user can't access 770 directory even though a member of group jm34003 Linux - Security 13 05-16-2012 03:03 PM
Secondary group users need to change the file permissions of primary group files? sunnybmv Linux - Newbie 3 12-10-2009 05:57 PM
Group administrator (or changing permissions and ownerships) rikis7 Programming 2 08-15-2007 01:22 AM
difficulty changing permissions thiqued Linux - Security 2 08-18-2004 12:56 PM
Group Permissions changing back on their own jnezezon Linux - Networking 8 01-09-2004 02:47 AM > Forums > Linux Forums > Linux - Newbie

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