UE launch can't access reg.dat

Post Reply
vincesolis55
Posts: 3
Joined: Thu Jul 03, 2008 3:16 am

UE launch can't access reg.dat

Post by vincesolis55 »

When launching UE.exe, the ACL's disappear from settings\reg.dat and I receieve an access denied error.

log.txt:

02-Jul-08 22:58:26
UE2020R internal error (7C812A5B/E06D7363)
Access is denied. (5)
OS Info: MajorVersion[5] MinorVersion[1] Build[2600] Platform[2] CSDVersion[Service Pack 2]

XCACLS (CMD)
F:\Usenet\Settings\reg.dat
Access is denied.

F:\Usenet\Settings>XCACLS.exe *.dat /c
F:\Usenet\Settings\api.dat DELLXPSBR\Parker:F
BUILTIN\Users:F
BUILTIN\Administrators:F
Everyone:F
NT AUTHORITY\SYSTEM:F

F:\Usenet\Settings\flt.dat DELLXPSBR\Parker:F
BUILTIN\Users:F
BUILTIN\Administrators:F
Everyone:F
NT AUTHORITY\SYSTEM:F

F:\Usenet\Settings\reg.dat

F:\Usenet\Settings>

Please advise...
Vince
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

maybe it is this:

The lpSecurityDescriptor member of the structure specifies a security descriptor for the object. If lpSecurityAttributes is NULL, the object gets a default security descriptor. The ACLs in the default security descriptor for a file or directory are inherited from its parent directory.

check what are ACL of the Settings directory. but maybe it had something to do with the permissions of the UE database folder, then other directories were created with those ACL.

when you created the UE database directory it got ACL from its parent directory, then all database subdirectories and in turn files in those subdirectories inherited the same ACL.

but strange that other files have normal ACL, maybe the settings directory changed its ACL somehow?
vincesolis55
Posts: 3
Joined: Thu Jul 03, 2008 3:16 am

Post by vincesolis55 »

Thanks, Alex. I saw the reference to the security descriptor while Googling. The database/settings folder has existed for some time, and only failed to work as of 6/30/08. Would you happen to know what the expected ACL's would be (from root) for UE. I'm XP SP2 installed in F:\Usenet (F:\USenet\Setting, etc. It's owned by a user in the local admin group.

-Vince
vincesolis55
Posts: 3
Joined: Thu Jul 03, 2008 3:16 am

Post by vincesolis55 »

In the end, I needed to make a copy off the Settings folder, renamed the Settings folder, create (as the user running UE) a Settings folder, and copy the folder contents from the renamed folder to the new Settings folder. Perhaps one of the kids was banging on the UE icon while logged in as anopther XP user.

Thanks for the quick response... great application, btw.

-Vince
Post Reply