[Solved] Mount USB with write access

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

[Solved] Mount USB with write access

Post#1 by codinghusi » 28 Aug 2019, 07:42

Hi I'm very new to porteus kiosk and it's exactly what I need :)
I'm working on a project for an escape room where the customers will plug in a usb and the program will automatically upload a file.
My problem is that I read that I can't mount a usb with write access. I know that the Cloud Edition can do that, but I don't want gui elements on the screen.
Is it somehow possible, e.g. remounting it with write access manually with a script?
Last edited by codinghusi on 14 Sep 2019, 11:43, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Mount USB with write access

Post#2 by fanthom » 28 Aug 2019, 17:25

Hello codinghusi,

How do you want to unmount the stick?

Mind there is delayed write (to mitigate flash storage wearing) so sticks must be unmounted before unplugging otherwise files may get not fully saved an corrupted.

Thanks
Please add [Solved] to your thread title if the solution was found.

codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

Mount USB with write access

Post#3 by codinghusi » 28 Aug 2019, 18:25

Hi, thanks for your reply.
My software only needs to upload one file and can directly unmount it so there won't be a problem:)

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Mount USB with write access

Post#4 by fanthom » 28 Aug 2019, 18:35

Please use this parameter:

Code: Select all

run_command=sed -i 's/MOPT="ro"/MOPT="rw"/g' /sbin/udev-automount-disabled
Thanks
Please add [Solved] to your thread title if the solution was found.

codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

Mount USB with write access

Post#5 by codinghusi » 14 Sep 2019, 11:43

Thank you very, very much!
That worked :)

Locked