LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-20-2004, 10:17 PM   #1
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
Chgrp Problem


1) i greated group "financegrp", then i created a folder as "finance" in
opt directory.

2) now i would like to change the group owner ship of folder finance to
financegrp.

3) i type following command,

chgrp -R financegrp /opt/finance/
it gives me following error,

chgrp: changing group of '/opt/finance/' : Operation not permitted
chgrp: changing group of '/opt/finance/hello/' : Opertaion not permitted

* hello is the file in the finance folder.

I am doing all this as a superuser(root)


What could be the problem ??
 
Old 08-20-2004, 11:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What's the output of
mount
?
 
Old 08-21-2004, 01:34 PM   #3
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
What's the output of
mount
?
Which mount ???

I am asking about chgrp problem ??
 
Old 08-21-2004, 03:19 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Wondering about the mount flags for opt,
and its filesystem. If root can't chgrp the flaw
must be somewhere in the underlying functionality
rather than with chgrp (I'd think).


Cheers,
Tink
 
Old 08-28-2004, 10:14 PM   #5
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Original Poster
Rep: Reputation: 30
so what should i do to solve this problem
 
Old 08-28-2004, 11:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Answering my question may allow me to help.

Cheers,
Tink
 
Old 08-30-2004, 09:09 PM   #7
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
If root can't chgrp the flaw
must be somewhere in the underlying functionality
rather than with chgrp (I'd think).
how can i know that there is some underlying functionallity problem , if there is some underlying functionallity problem then what it is and how to solve it.
 
Old 08-30-2004, 11:55 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
*sigh*

What is the output of
mount
?

And if you ask me why this was the last of your question
of yours I've answered ... ;)


Cheers,
Tink
 
  


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
chmod ,chown ,chgrp------------ pal Linux - Newbie 1 02-27-2005 02:49 PM
chown, chgrp Help Icarus1701 Linux - Newbie 1 10-25-2004 06:42 PM
Problems with chmod and chgrp OC_eobard Linux - Newbie 13 06-08-2004 12:36 AM
Why can't users chgrp ? Rotwang Linux - General 11 03-22-2004 09:35 PM
problems with chown and chgrp apax Linux - Software 6 11-03-2003 03:44 PM

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

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