Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Attributes/securities

Status
Not open for further replies.

oscarse

Programmer
Apr 9, 2006
99
CA
Sorry this is sort of a cross post as I was not sure what the issue was I posted a related question in the XP forum.

The issue is that I have an ACCESS VBA app that is creating jpg files that are no longer accessible across a peer network. This was working until I converted a 2K app into a 2k3 app plus made some changes unrelated to the File save process.

What I found was that the Permissions of the files are being altered for some reason. I changed the Permissions manually on the parent Folders and files but any new files are still being stored with the wrong permissions ... not taking on the Parent permissions of the folder.

I am using the createobject("scripting.filesystemobject") objects to move, copy or delete files which hasn't changed from my 2k app so am perplexed at what is changing the permissions.

 
Hi....

When copying a file from a secured location the file takes on the security of the destination.

When moving a file from a secured location the security follows the file from the original location.

You can test this in explorer, by copying and or moving a file then check the security under file properties.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top