File Access Error in Linux Based cRIO When Trying to Rename a Directory using WebDAV

Updated May 3, 2018

Reported In

Hardware

  • cRIO-9063
  • cRIO-9064
  • cRIO-9065
  • cRIO-9066
  • cRIO-9067
  • cRIO-9068

Issue Details

I am using a LInux RT target, and I am trying to read a text file from a directory. When I create a new folder in the default data directory (/home/lvuser/natinst/LabVIEW Data), I am able to access the file without any errors. However, when I change the name of the folder, where the text file is stored, I encounter Error 8: LabVIEW File Permission error. You do not have the correct permissions for the file. 
 

Solution

It seems that file permissions are altered when a folder is renamed through WebDAV, the file permissions are altered in Linux, which limits the user groups ability to Read/Write to the text file. A example of this is shown below. 

A workaround is to rename the folder by accessing the controller via SSH, and using the mv command in Linux. This allows you to rename files and folders without altering the default file permissions, or custom permissions set by the user. An example of this is shown below. 

Additional Information

For more information connecting to the controller via SSH, refer to the Accessing the Terminal or Shell on NI Linux Real-Time Devices document. For more information the mv command in Linux, refer to the related links below.

WAS THIS ARTICLE HELPFUL?

Not Helpful