[SOLVED] Can I write to a FAT32 partition from Debian?
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.
Is it possible to write files to a Fat 32 partition?
The drive is mounted. I can explore the files present there, as well as use them and copy them to Debian, but I keep running into the same old "You do not have permissions" crizzap when I try to save files onto that partition.
The FAT32 is on a separate HD from my Debian. Winderz is on that drive's first partition, and the FATTY is the drive's other partition.
Is it possible to write files to a Fat 32 partition?
The drive is mounted. I can explore the files present there, as well as use them and copy them to Debian, but I keep running into the same old "You do not have permissions" crizzap when I try to save files onto that partition.
The FAT32 is on a separate HD from my Debian. Winderz is on that drive's first partition, and the FATTY is the drive's other partition.
as long as I use linux, I'm able to read/write the FAT32 partition without facing any problems.
If you have some troubles, try checking the disk's permission, maybe the permission is not writable by the system.
Ok, so the partition has been mounted by root, and only root can write to it. So as a normal user you will not be able to write to it.
So that you as a normal user can write to the /fat please do the following. Close any file browser windows that are open showing anything in /fat, and close any terminals. Now open a terminal as you (not root), then type.
Code:
su
umount /fat
exit
mount /fat
Now please try to see if you can write to /fat as a normal user.
EDIT* I just saw a problem with your fstab the entries that says "users" should instead say "user". This could be the cause of your problems.
Like magic!
Thanks EVO2!!!
I guess I can do this with ANY FAT32? I would only need to specify the "name" of the drive (ie /fat or /xtra) as they appear in fstab???
Like magic!
I guess I can do this with ANY FAT32? I would only need to specify the "name" of the drive (ie /fat or /xtra) as they appear in fstab???
Yep, any fat32 partition should be fine.
Did you modify your fstab file to change all the instances of "users" to "user"?
Quote:
E D I T: Is this possible with NTFS?
Good question. In the past the writing to NTFS was not possible, however I think it may be possible these days. I guess others may be able to give you a definitive answer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.