LinuxQuestions.org
Visit Jeremy's Blog.
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 02-28-2008, 09:10 AM   #1
manuelafl
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Changing permissions


Hi guys!

Everytime I try to change the permissions of /mnt/hd which is a mounted partition nothing happens.

Well, it's a bad nothing happens 'cause the prompt returns to its original form, but when I tryed to use the folder writing/copying something to it I can't.

Let me show you I did.

Code:
root@luthor:# ls -lsh
16K drwxr-xr-x 5 root root  16K 1969-12-31 21:00 hd/
root@luthor:/mnt# chmod -R 777 hd/
root@luthor:/mnt# ls -lsh
16K drwxr-xr-x 5 root root  16K 1969-12-31 21:00 hd/
I also tryed changing the owner and group, but that didn't worked too.

Goes as follows:

Code:
root@luthor:/mnt# chown -R manuelafl:users hd/
chown: changing ownership of `hd/downloads/slackware/flash-plugin-9.0.115.0-release.i386.rpm.rpm': Operation not permitted
chown: changing ownership of `hd/downloads/slackware/slackpkg-2.70-noarch-1.tar': Operation not permitted
chown: changing ownership of `hd/downloads/slackware/slackpkg-2.70-noarch-1.tgz.tgz': Operation not permitted
It has more, but as I only want you guys get a glimpsy of my problem wrote only this few lines.

Tryed changing only the group but...

Code:
root@luthor:/mnt# chgrp -R users hd/
chgrp: changing group of `hd/downloads/slackware/flash-plugin-9.0.115.0-release.i386.rpm.rpm': Operation not permitted
chgrp: changing group of `hd/downloads/slackware/slackpkg-2.70-noarch-1.tar': Operation not permitted
So people..Anyone? Any idea about this? Any help wanted!!!

[]ss
 
Old 02-28-2008, 10:05 AM   #2
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
try unmounting then chgrp\chmod
 
Old 02-28-2008, 10:59 AM   #3
manuelafl
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Already tried that and it worked, but when I mounted back the partition the original, which is rwxr--r--, permissions returned.

[]ss
 
Old 02-28-2008, 11:32 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,961

Rep: Reputation: Disabled
Please see man mount and man fstab, different filesystems take different options.
 
  


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
Changing permissions stevenh Linux - Software 4 03-18-2006 04:17 AM
changing permissions sy-co Mandriva 5 04-16-2004 10:13 AM
Changing Permissions synecdoche Linux - General 1 08-21-2003 10:41 AM
Changing permissions Mladek Linux - Software 7 07-09-2003 08:57 AM
Changing Permissions linuxfond Linux - Newbie 11 07-01-2003 02:48 PM

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

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