How can I get writing access to mounted sd-card?
-
When having mounted a fat32 formatted 32GB sd card to the folder /media/myfolder with the command
sudo mount -t vfat /dev/sda /media/myfoldersda in my case found with the command fdisk -l
I can correctly read all my files on the sd card, but cannot get write access in order to add files or modify them.
It would be a great feature to synchronize my phablet files with the ones on the sd card...
Is there actually a solution?
pixel 3axl focal rc -
Probly the permissions are not allowing it, try:
sudo chmod 777 /media/myfolder -
@tera thank you for your answer!
...what I tried:
sudo mount -rw -t vfat /dev/sda /media/myfolder
...and after sucessfully mounting
sudo chmod -v -R 777 /media/myfolder
...all folders/ files in /media/myfolder were shown (in terminal!) as being changed from rwx rx rx ---> to rwx rwx rwx.
So, full of hope, I opened my phone's filemanager and tried to change a file's name in /media/myfolder...
...but neither adding a file nor changing its name was accepted by the system...no write access! Also, of course, the contents of files couldn't be changed by e.g. Seabass2-app.
In spite of the permission changes signaled by the terminal, the files on the SD-card obviously remained unchanged.
Had no success also when trying a mount-folder in /home/phablet/myfolder...The files on the SD card were written by myself with the "external storage"-app on the same phone. So I should be the owner/ root of the files...
What's wrong with my trials?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login