Sign in to follow this  
Followers 0
big_daddy

Question On File Permissions

3 posts in this topic

I am wanting to know how file permissions are handled when using the FileInstall() function.

Share this post


Link to post
Share on other sites



Yet again the wording of my question was horrible. Let me try and explain better....

What I'm needing to know is if I set permissions on a file before I compile the script, is it going to retain them, or will it change them in any way? We have our network locked down pretty tight, so for the script to be able to write the values to the ini file the logged on user needs to have permissions to do so. Any help or info on this would be great.

Share this post


Link to post
Share on other sites

Usually the @TempDir is unlocked. Try by fileinstalling/creating your files there and you will have no problem. In any case FileInstall() needs write permissions for each user that runs your program via SMB. So maybe the @TempDir is the best approach on this issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0