techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old Jul 21, 2012, 07:52 PM   #1
OnePostWonder
200 Posts
 
Join Date: Dec 2008
Posts: 485 (0.30/day)
Thanks: 61
Thanked 89 Times in 70 Posts

System Specs

Permissions and VirtualStore

Using Jedi Knight: Jedi Academy as an example...

I installed JKJA to the default folder, save for shortening the folder name during the install process. I started a new game and navigated to where I believed the saves would be (C:\Program Files (x86)\LucasArts\Star Wars JKJA\GameData\base\saves). Finding nothing there, I looked online and discovered Windows 7 (Vista may also have this, I forget at the moment) keeps a folder called "VirtualStore" for those programs which can't write to their own folder due to permission issues; I'd like to avoid files of my choosing being placed in VirtualStore for the sake of organization and convenience.

My question is this: what is the most efficient and secure way to give permission to these programs so that they can write to their own folders? As I understand it, giving the default Admin (myself) full control of the Program Files folder would present somewhat of a security issue.

This is all I'm going to write for now, but I have other, more specific questions that will hopefully be answered along the way.

Thanks in advance!
OnePostWonder is offline  
Reply With Quote
Old Jul 22, 2012, 07:48 PM   #2
Frick
Fishfaced Nincompoop
 
Frick's Avatar
 
Join Date: Feb 2006
Location: Sweden
Posts: 7,871 (2.98/day)
Thanks: 1,075
Thanked 1,443 Times in 1,149 Posts

System Specs

Run installation as admin maybe?
__________________
Typemachine: Acer Aspire One D250 | Atom N280 1.6 Ghz | 1GB DDR2 | 160GB SATA | 10.1' 1024 x 600 | Lubuntu 12.10
Oldbox: HP D530 | Pentium 4 2.8 Ghz | 1GB DDR | 40GB | Windows XP
"The 'gentle biker' look is overdone. I'm going for 'psycho hillbilly.' "
Frick is online now  
Reply With Quote
Old Jul 22, 2012, 10:16 PM   #3
OnePostWonder
200 Posts
 
Join Date: Dec 2008
Posts: 485 (0.30/day)
Thanks: 61
Thanked 89 Times in 70 Posts

System Specs

Quote:
Originally Posted by Frick View Post
Run installation as admin maybe?
This actually reminds me of a question I have; when I'm prompted by UAC to allow a program to install, is this comparable to selecting the setup file and running as administrator?
OnePostWonder is offline  
Reply With Quote
Old Jul 23, 2012, 12:18 AM   #4
scoutingwraith
200 Posts
 
scoutingwraith's Avatar
 
Join Date: Jun 2007
Location: Sector ZZ9 Plural Z Alpha
Posts: 220 (0.10/day)
Thanks: 35
Thanked 47 Times in 44 Posts
Send a message via AIM to scoutingwraith Send a message via MSN to scoutingwraith

System Specs

Have you tried compatibility option. I had to enable that one as "Vista" to run Jedi Outcast for example.
__________________
Sometimes there is a time when you think WTF.....
scoutingwraith is offline  
Reply With Quote
Old Jul 23, 2012, 02:26 AM   #5
OnePostWonder
200 Posts
 
Join Date: Dec 2008
Posts: 485 (0.30/day)
Thanks: 61
Thanked 89 Times in 70 Posts

System Specs

Quote:
Originally Posted by scoutingwraith View Post
Have you tried compatibility option. I had to enable that one as "Vista" to run Jedi Outcast for example.
Hmm...I could give that a try. I don't know if that will allow for the saves to land in their proper folder, but it's worth a shot!
OnePostWonder is offline  
Reply With Quote
Old Jul 23, 2012, 02:45 AM   #6
newtekie1
Semi-Retired Folder
 
newtekie1's Avatar
 
Join Date: Nov 2005
Location: Indiana
Posts: 17,742 (6.49/day)
Thanks: 780
Thanked 5,114 Times in 3,705 Posts

System Specs

This is a tricky one.

Simply adding administrator to the security options would do nothing since the Administrators group should already have permission to write to pretty much every folder already, so any administrator should have write access.

However, this is an UAC issue almost certainly, since UAC prevents programs actually running with Administrator privileges, even if you run them under an Administrator account.

So the solution would be to go into the properties of the programs EXE, and going to the compatibility tab, and checking the box to always run the program as administrator. This will make sure the program has administrative privileges and can write to its own folder. You will get a UAC prompt every time you run the program though. Obviously this is safe if you know the program and trust it, obviously you don't want to do this with every program.
__________________

Rig1: System Specs.
Rig2: A8-5600K@4.4GHz / AsRock FM2A75 Pro4 / 8GB Corsair DDR3-1600 9-9-9-24 / HD7560D / Samsung DVD-Burner / 1.5TB WD Green + 3x3TB WD RED in RAID5
Rig3: Athlon X2 4200+ / M4A79 Deluxe / 4GB G.Skill Pi DDR2-800 4-4-4-12 / GT430 / Sony DVD-Burner / 500GB WD
Rig4: Phenom II x6 1605T @ 3.6GHz / Asus M5A99X Evo / 8GB PNY DDR3-1600 9-9-9 / GTX470 & GTX470 / Samsung DVD-Burner / 1.5TB Seagate
newtekie1 is offline  
Crunching for Team TPU More than 25k PPD
Reply With Quote
The Following User Says Thank You to newtekie1 For This Useful Post:
Old Jul 28, 2012, 06:15 PM   #7
OnePostWonder
200 Posts
 
Join Date: Dec 2008
Posts: 485 (0.30/day)
Thanks: 61
Thanked 89 Times in 70 Posts

System Specs

Quote:
Originally Posted by newtekie1 View Post
This is a tricky one.

Simply adding administrator to the security options would do nothing since the Administrators group should already have permission to write to pretty much every folder already, so any administrator should have write access.

However, this is an UAC issue almost certainly, since UAC prevents programs actually running with Administrator privileges, even if you run them under an Administrator account.

So the solution would be to go into the properties of the programs EXE, and going to the compatibility tab, and checking the box to always run the program as administrator. This will make sure the program has administrative privileges and can write to its own folder. You will get a UAC prompt every time you run the program though. Obviously this is safe if you know the program and trust it, obviously you don't want to do this with every program.
This was a really informative post and actually addressed some other questions I had. It also provides me with the simplest and most efficient solution (as far as I know now, I haven't tested it yet).
OnePostWonder is offline  
Reply With Quote
Old Jul 30, 2012, 04:25 AM   #8
OnePostWonder
200 Posts
 
Join Date: Dec 2008
Posts: 485 (0.30/day)
Thanks: 61
Thanked 89 Times in 70 Posts

System Specs

newtekie1's solution worked.

Thanks!
OnePostWonder is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access file/or permissions John Phoenix General Software 3 Jan 10, 2011 03:30 PM
Windows 7 Permissions? hat General Software 4 Jul 30, 2010 10:22 AM
Newbie and permissions King Wookie Linux / BSD / Mac OS X 14 Apr 18, 2010 05:05 PM
file permissions/ownership troubles xBruce88x Networking & Security 4 Feb 18, 2010 05:27 AM
vista security permissions Nailezs General Software 2 Aug 30, 2009 06:01 PM


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts