02-03-2021 10:40 PM
Hi All
I'm having a issue writing a file to a network drive using SAMBA from a LabVIEW RT application running on an NI Industrial Controller
I installed and setup SAMBA via the following tutorial
https://forums.ni.com/ni/attachments/ni/7310/123/6/Samba_demo.zip
I can successfully create a mount to the network folder.
In LabVIEW RT I can list and read the files on the network folder.
In Putty I can run a Linux command on the IC to create a text file on the network drive.
However in LabVIEW RT running on the IC I cannot write or copy a file to the network drive, I get a file permission error.
Much appreciated
Kurt
Solved! Go to Solution.
02-03-2021 11:36 PM
what are the permissions set to on the files?
can ssh in and do an ls -al?
That would be useful.
02-04-2021 12:50 AM
Hey Sam
I got it working, the secret sauce is here
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kKgxSAE&l=en-AU
creating the local directory to write data to in /home/lvuser and then using uid=lvuser was what got it all working