Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I have mounted my .img file using a loop device. the .img file contains a Fat32 filesystem. I am using it to transfer data between windows running under qemu and my host linux system. Qemu can read and write to the image fine. However under linux I have to be root to write to the .img file when it is mounted. (qemu uses the .img file directly without it being mounted). I have tried several .img files all with the same problem, even when qemu is not running. Any ideas?
You need to change the permissions.
Sorry I can't think of it off the top of my head, but you should be able to right click on the file and choose to allow everyone the ability to write.
chmod (I think) is the command.
I have tried that. No errors but the permissions do not change. I have tried changing them on the image file on the directory I mount the file to and the files in the image. None of them will change.
You're going to have to change the way you mount it.
Linux is very very bitchy about letting me mount my NTFS drive, it will only let root read it. Christ....I forget what i had to chuck in the fstab to get it to work. Check in search for how to mount a NTFS drive or whatnot with proper permissions.
this isn't an ntfs drive it is a drive image formatted with fat32 aka vfat. My other users can read it but only root can write to it. I have mounted it manually and through fstab with the same result. I have tried changing ownership and permissions as root and other users but they do not change. I am running Debian based SimplyMepis 3.3. I have an NTFS drive that works just fine. Any user can read it. I can use a physical drive formatted as fat32 just fine. I am just having issues with the image file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.