Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
Thanks,
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.