Iot usb write problem


Im trying to write a csv in a usb at IOT2050, i mount the usb and try to send the csv with csv node and write file node but i get this error all time:

"failed to append to file: Error: EACCES: permission denied, open '/media/usb-drive/test.csv'

Someone knows what permission i need or how can i do to solve this?

Thanks in advanced.

try to read a file from the usb first
or run as root or run this commende
chmod 666 /media/usb-drive/test.csv

Hi issambfs1,

I try but the same, permission denied.

When i mount the usb (sudo mount /dev/sdb1 /media/usb-drive) i cannt access to /media/usb-drive, permiss denied, if i umount the usb i can acces to /media/usb-drive.

So when usb is mounted i cannt access /media/usb-drive but if is umounted i can access/read/write at /media/usb-drive without problems.

I dont know where is the problem, im a little newby at ubuntu.

Having mounted it, what does this command show?
sudo ls -al /media/usb-drive

Hi Colin,

I have it, solved with :

sudo mount /dev/sda1 /media/usb-drive -o umask=000

Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.