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 04-16-2002, 10:26 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 5

Rep: Reputation: 0
chown problem

Am trying to change the ownership and group permissions for some files. however, chmod does not have any effect on the files, while when I try a chown, I get an operation not permitted message...this even though I'm logged in as root!
Old 04-16-2002, 10:49 PM   #2
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
What files exactly?
Did you log in as root, or su to root? If su, try "su -" instead.
What distro?
Old 04-17-2002, 09:04 AM   #3
LQ Newbie
Registered: Apr 2002
Posts: 5

Original Poster
Rep: Reputation: 0
THe files I'm trying to change ownership for, are come c source filesI I copied from my other machine.
I've tried su, su -, as well as logging in as root, but all cases still give me the same operation not permitted error.
I'm using Suse LInux 2.4.10.AM not sure if that was what you meant by the distributions.
Old 04-17-2002, 09:36 AM   #4
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
What kind of filesystem are the files on? If they are on a fat32 filesystem then you won't be able to change the owner and permissions like you can do with files on a ext2 filesystem.
Old 04-17-2002, 09:38 PM   #5
LQ Newbie
Registered: Apr 2002
Posts: 5

Original Poster
Rep: Reputation: 0
That's right, the partition the files were on was a fat32 partition, and I learnt later, that whoever mounted the partition. has ownership of those files...
Any ideas why this is the case? Intially, the drive was mounted by root, but even though I logged in as root, I could not change the permissions for hte files. HOwever, I logged out, logged in as a user, (with super access), unmounted the drive, mounted it again, and now this account owns the files!


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
Problem with chown fgagnon Linux - General 9 04-03-2005 09:35 PM
chown problem rafc Linux - Newbie 6 07-05-2004 11:18 PM
I Have a problem with the CHOWN command AnnePeter Linux - Software 5 03-12-2004 07:37 AM
chown -R ujotne Programming 3 02-25-2004 12:02 PM
chown Sathe Linux - General 13 10-14-2002 11:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 PM.

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