I have my data like music,etc stored in a fat32 partition so I can work with it both in linux and Windows. The partition is mounted and I can read and write which is what I want. However, the files and folders on the partition are all mounted with owner = root. Same thing holds when creating new files and folders, I can create them with user account, but the owner is set to root instead of me. This wouldn’t be a problem until I tried this:
downloaded a tar archive and placed it in the fat32 partition. When I try to extract the archive it tells me that permission is denied… Strange since the users groep has rights to read and write.
So what should I change in the partition module in yast or in fstab to solve this?
You’ve mounted the partition correctly – something else must be wrong. Just as a diagnostic thing, try to copy it to a normal filesystem, like in /home/username somewhere, and see if it unpacks there – it’s quite interesting.
And also, tell us a little more about the archive file and its actual permissions.
when put the archive in my homefolder and extract it there is no problem.
-rwxrwxr-x 84291-helsinki.tar.gz -> in home
-rwxrwxr-x 84291-helsinki.tar.gz -> in fat
the archive is just a archive from gnome-look, nothing special, and it also happens with other archives.
I also noticed that when I use file roller to first open the archive and then drag and drop the files into fat it does extract them (and also gives the same error as listed above). When I just rightclick and press ‘extract here’ I only get an error without extraction.
I really don’t know, being a KDE user. But I think to say “yes” to the bug question would just be a cop out. It should work OK. I installed file roller, which is a GUI for “unrar” and tried it out on something I made as filename.tar.gz. It worked OK, although cumbersome.
So I can’t really help further except to suggest trying a different unzip programme.
Well that’s new information for me. I suppose since
fat32 is essentially a world-writeable filesystem*]Linux tricks it up to temporarily have Linux-like permissions that change depending who mounted the partition*]tar is an archiver which tries to preserve user and group IDs
then strange things can happen. But that is of course a bit of a cop out instead of giving you a clear way to cope with it.
I know one clear way to cope with it: use a Linux filesystem – sometimes an impractical suggestion.