Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / August 2005



Tip: Looking for answers? Try searching our database.

VB 6.0 Permissions on created files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shipcreak@gmail.com - 30 Aug 2005 12:45 GMT
Here's the scenario:

Server Machine + Client machine.  The same VB test application is run
on both machines at the same time, and is designed simply to write a
messages to a file repeatedly (every 50ms), to test local and remote
processes writing to a single error log file over the network.

Test 1:
-------
1. Client creates file on server over network (mapped drive)
2. Client writes to file
3. Server writes to file
4. 3 & 4 repeated ad nauseum with no problems

Test 2:
-------
1. Server creates file on it's local harddrive
2. Server can write to file
3. Client is unable to write to file

I think this is to do with file permissions being different when the
server creates a file (the server then being the "owner").  Is there
any way around this?
shipcreak@gmail.com - 30 Aug 2005 13:37 GMT
I've also noticed that applications such as notepad on the client
cannot edit the file (opens okay, but can't save changes), and using
Explorer, are unable to delete the file, either.

I've looked at the permissions, and things look okay, but I'd like to
eradicate of establisha a suitable workaround for this problem.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.