Page 1 of 1

[Solved] Mount USB with write access

Posted: 28 Aug 2019, 07:42
by codinghusi
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?

Mount USB with write access

Posted: 28 Aug 2019, 17:25
by fanthom
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

Mount USB with write access

Posted: 28 Aug 2019, 18:25
by codinghusi
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:)

Mount USB with write access

Posted: 28 Aug 2019, 18:35
by fanthom
Please use this parameter:

Code: Select all

run_command=sed -i 's/MOPT="ro"/MOPT="rw"/g' /sbin/udev-automount-disabled
Thanks

Mount USB with write access

Posted: 14 Sep 2019, 11:43
by codinghusi
Thank you very, very much!
That worked :)