File Permission Changes Ignored on VxWorks Real-Time Targets

Updated May 14, 2018

Reported In

Operating System

  • VxWorks

Issue Details

I am using the LabVIEW Real-Time module to program my Real-Time target running the VxWorks operating system.  When I try to set or get the file permissions of a directory or specific file I notice strange behavior.  When I use SetFilePermissions.vi the operation does not change any file permissions.  When I use the GetFilePermissions.vi it always returns 777 on any file or directory.  Is this behavior expected?

Solution

Yes, this is expected behavior.  The VxWorks operating system ignores file permissions. Therefore, any get or set file permission operations will not have the desired effect.

WAS THIS ARTICLE HELPFUL?

Not Helpful