Page 1 of 1

Sandboxie config and data file locations

Posted: Sun Dec 26, 2010 8:19 am
by xerces8
To use C:\WINDOWS for the ini file and C: for data file is Windoiws 3.x style.
Since 1995 (with Windows NT 4.0 and 95) the location for data and config files is the "Documents and Settings" folder.

Why has Sandboxie opted for the "ancient" file locations?

Is there a chance of change?

Regards,
David

Posted: Sun Dec 26, 2010 11:25 am
by SnDPhoenix
Maybe tzuk is just old school? :lol:

Posted: Sun Dec 26, 2010 12:14 pm
by tzuk
The settings are specific to any one user account,
and I didn't think the Documents and Settings folder was appropriate.
There is a possible alternate location, move Sandboxie.ini to the Sandboxie installation folder, and immediately go to Sandboxie Control, Configure menu, and reload configuration.

Posted: Mon Dec 27, 2010 4:06 pm
by Guest10
At one time, Sandboxie created the Sandbox folder under the user's "Documents and Settings\(user)\" folder on XP.

Unfortunately, when some sandboxed programs saved their files inside of the sandbox folder, some very long paths\filenames were created by those programs, and Windows was having a problem with that.
So the default location for the Sandbox folder was moved to C:\Sandbox, to alleviate that problem.
Of course, the Sandbox folder can be moved with:
Sandbox > Set Container Folder

Posted: Tue Dec 28, 2010 8:51 am
by Mike
Out of curiousity, do writes to sandboxie.ini ever get redirected by UAC virtualization to %LocalAppData%\VirtualStore? For example, what happens for users who don't have write permissions for the Windows or Program Files directories?

Posted: Wed Dec 29, 2010 6:31 am
by tzuk
The SbieSvc service does the actual writing, so UAC virtualization does not apply, and permissions are not a problem.

Posted: Wed Dec 29, 2010 6:17 pm
by Mike
Makes sense. Thanks for the info, tzuk.