Jump to content
prabhakaran

windows server 2008 r2 file permission problems

Recommended Posts

Hi all,

 

I am working on a project in which I need to create files dynamically, say text files for each measurement. As these files are created dynamically, these are 'owned' by created user. From the same user I can read, write these files.

 

But if I try to access these files from other user accounts, those accounts have only read permissions over the dynamically created files. But I need Write permissions. 

 

Any suggestions to help achieve this functionality is appreciated.

 

P.S.:This problem doesn't occur in windows 7.

 

Thanks in advance,

Prabhakaran. :shifty:

Main.vi

Edited by prabhakaran

Share this post


Link to post
Share on other sites

Hi,

 

See http://zone.ni.com/reference/en-XX/help/371361K-01/glang/setting_permissions/

 

You set the permissions to 200 (decimal) = 110 010 000 (binary). Try setting it to 110 110 110 (binary) = 438 (decimal) to give everyone read/write permissions?

 

(If that doesn't work, you need to find out how Windows Server manages file permissions)

Edited by JKSH

Share this post


Link to post
Share on other sites

This may not be a file properties issue, but a Windows permission issue.  If I am not an administrator I don't generally have access to write files in the Program Files directory.  One way to change this is to assign permission using the command line, or going to the folder properties and go to the Security tab.  Do this with the command line using ICACLS

 

http://stackoverflow.com/questions/2928738/how-to-grant-permission-to-users-for-a-directory-using-command-line-in-windows

 

http://technet.microsoft.com/en-us/library/cc753525.aspx

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.