LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

File permission problem with Labview 6.1.

A co-worker of mine cannot access llbs in my LabVIEW 6.1 directory. I have the permissions in this directory set the same as all other directories on my computer, but he cannot get access. This seems to be a problem only in the LabVIEW 6.1 directory and subdirectories (He can access any other program or file on my computer). Has anybody had a problem like this?
0 Kudos
Message 1 of 6
(3,165 Views)
Can you please specify your operating system, and advise how you are trying to access these files.
Message 2 of 6
(3,165 Views)
The operating system for both computers is Windows 2000. We are just trying to access the files using Windows Explorer.
0 Kudos
Message 3 of 6
(3,165 Views)
With Win2K, every user should have full control of the LabVIEW folder.
0 Kudos
Message 4 of 6
(3,165 Views)
Even if you set your user account to have permission to access the folder containing the VIs, you can still run into this problem. When you save VIs in LabVIEW, it doesn't save them with the option "Allow inheritable permissions from parent to propagate to this object" checked. Thus, even if the directory was created giving the user permission, the individual files will not inherit this property. There are two solutions available depending on your setup.

Scenario 1: Your folder gives permissions for the user to access the folder and you want all VIs in the folder to be accessible according to the permissions set for the folder

Right-click on the folder containing your VIs and select Properties.

Click on the Security tab.

Click on the
Advanced button.

Check "Reset permissions on all child objects and enable propagation of inheritable permissions."

Click on the Apply button.

You will get a message stating "This will remove explicitly defined permissions on all child objects and enable propagation of inheritable permission to those child objects. Only inheritable permissions propagated from XXX will take effect. Do you wish to continue?". Click on Yes.
Now all VIs in this directory will be accessible.

Note: If you add new VIs to the folder, they will not be accessible unless you repeat the above steps.

Scenario 2: Your folder gives permissions for the user to access the folder and you want to assign that certain VIs in your folder be accessible to the user.

Right-click on the VI you want the user to be able to access and select Properties.

Click on the Security tab.

Check "Allow inheritable permissions from parent to propagate to this object"

Zvezdana S.
National Instruments
0 Kudos
Message 5 of 6
(3,165 Views)
Thanks for the input. The two solutions you mentioned are what we already do to get around the problem. What is odd is that I can access VIs from my co-worker, who also has Windows 2000 and LabVIEW 6.1, but he cannot access mine unless I make the modifications that you suggest.
0 Kudos
Message 6 of 6
(3,165 Views)