B4J Question finding a way to get into the roottree of rasbian

MbedAndroid

Well-Known Member
Licensed User
Longtime User
with file.dirapp you get the current app directory
I'm looking for a way to get into folder outside the home/pi folder, for example /media/usb where a usb stick is found.
currently i'm running the app as root to get acess to the usbstick, but it should also be possible to get it as pi user
if someone has a idea?
 

MbedAndroid

Well-Known Member
Licensed User
Longtime User
solved by making a symlink
ls -s /media/usb /home/pi
stored it in rc.local so it active active after reboot
 
Upvote 0
Top