LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 11: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-21-2004, 12:27 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What's the output of
mount
?
 
Old 08-21-2004, 02: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, 04:19 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 11: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-29-2004, 12:48 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Cheers,
Tink
 
Old 08-30-2004, 10: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-31-2004, 12:55 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
*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


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


All times are GMT -5. The time now is 03:07 PM.

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