Hi,
I want to create a simple web page that lists the ISO files I have in a directory so I can select one file and click a button to mount that file in a preconfigured directory.
I'm stuck at mounting the file with perl, I need sudo and I don't know if it's possible to do that from a script.
I basically have a php file outputting a form, on that form I select what file I want to mount and click 'submit', I post the info to /cgi-bin/discmount.pl. Dismount.pl should mount to /media/vdrv0 which is shared by samba.
Anyone can help me with the mounting part if it's possible ?
Thanks