I've put together a simple multiuser program that runs great out of a PC-user A's directory. But the problems occur when user B' thru user D', on the same PC, runs the program and attempts access' to these date files. The results is usually quite bad. I've attempted to set permissions for each user; under each of the files properties - prior to each run. But after running the program from either user'B thru user'D, the permissions that were set before seems to have disappeared, as if I hadn't done them at all. This has been going on for a while, and I can't make any heads or tails of it. How can I make the permissions credible and good and right, so as to have no problems in running the program anywhere on this PC. In otherwords, make sure everything goes as planned, have no problems. Any corrective ideas and helps sure would be helpful. What am I doing wrong though? Thanks,
What I have tried:
I have used _fsopen(), fopen(), fsopen_s(). constantly changing it, bang on it.