Page 1 of 1

[error] Unable to create file 'tmp/***.commands.dll': P

Posted: Sat Nov 06, 2004 1:27 am
by Mr_S
Anyone able to advise on overcoming this error?

the *** means a different name / file each time.

Also end says "Permission Denied".

3.2.2 = Version
Windows

Thoughts = Appreciated

Posted: Sat Nov 06, 2004 9:47 pm
by Stealth
Make sure the tmp folder is created in the Unreal folder, and make sure you have access to create and write to files in that folder.

Posted: Sat Nov 06, 2004 10:22 pm
by Mr_S
Hiya stealth thanks for reply,

i have the tmp folder in the unreal directory and files should be able to be created anyways....

using windows xp, logged in as admin for pc (obv)

But still no joy

Posted: Sun Nov 07, 2004 8:19 pm
by Syzop
You did a normal install, didn't move the unrealircd directory or something around etc?

If not, then it still sounds as permissions....
Do you run unreal as a service? If so, make sure the SYSTEM user can also read/write in that directory.

If all of that still didn't work, you can try tracing down the error with something like FileMon :p.

Posted: Sun Nov 07, 2004 9:08 pm
by Mr_S
Nup - nothing moved....

un-install and re-install ya think??

Posted: Mon Nov 08, 2004 4:03 pm
by Syzop
Do you always only read 1/3 of the answer/questions? :P

Posted: Wed Nov 10, 2004 8:35 am
by Mr_S
Syzop wrote:You did a normal install, didn't move the unrealircd directory or something around etc?

If not, then it still sounds as permissions....
Do you run unreal as a service? If so, make sure the SYSTEM user can also read/write in that directory.

If all of that still didn't work, you can try tracing down the error with something like FileMon :p.
lol sorry Syzop.... had a long day and was tired.

im running unreal as a program not a service (checked proccesses and it anit showing as a service. shows my userid on pc as in use for that proggie)

ill attempt that link in a few days and get back to here if i dont have any luck :( but hopefully all will work!

Posted: Wed Nov 17, 2004 11:16 pm
by John{C}
I am also getting the same problem with Windows XP. I know I'm logged in under Admin so i should have no problems writing to anything. I'm stuck to say the least.

Any further help would be appreciated..... :?:

Posted: Wed Nov 17, 2004 11:34 pm
by katsklaw
Just because you are logged in as the Admin doesn't mean you have read/write access to everything.

I'm running XP Pro and Unreal3.2.2 and it works perfectly. All I did was installed, copied my old config file over and started it.

Posted: Thu Nov 18, 2004 3:03 am
by John{C}
Yeah i wasn't trying to say it gives me full access. I was just trying to figure out if there was a bug regarding XP or whatever to help the next person who has this prob.

Glad yours works!

Ok, next ..... lol 8)

Posted: Thu Nov 18, 2004 3:59 am
by katsklaw
John{C} wrote:Yeah i wasn't trying to say it gives me full access. I was just trying to figure out if there was a bug regarding XP or whatever to help the next person who has this prob.

Glad yours works!

Ok, next ..... lol 8)
by your previous statement I was understanding you thought you have full read/write access just because your the admin. I'm simply saying that's not true.

Also, since you only the 2nd person to report this I doubt it's an XP bug. (This is why I said mine worked, wasn't to impress you.)

3rd, you should check the permissions to ensure that you do indeed have permissons to the tmp/ directory because that's exactly what "Permission Denied" means ... the user trying to run/access the file/directory don't have sufficient access.

Posted: Thu Nov 18, 2004 5:48 pm
by John{C}
I agree with everything you are saying katsklaw. The only thing diff that i can see is i'm using home and not pro, but that shouldn't really be an issue. I really don't think it's an XP bug as i know a lot of people use Unreal on XP. I'll try a quick setup on one of my XP Pro machines over the next few days if needs be to make sure.

Thanks for your input thus far...

Posted: Thu Nov 18, 2004 7:51 pm
by John{C}
Ok its seems Syzop and myself have found a solution to this problem. It works for me so hopefully anyone else with this issue with be able to sort it. It is as the error says to do with permissions.

Initially we checked the 'cacls' which looked like this (on my machine anyway):

> C:\Program Files\Unreal3.2>cacls tmp
> C:\Program Files\Unreal3.2\tmp BUILTIN\Users:R
> BUILTIN\Users:(OI)(CI)(IO)(special
> access:)
> GENERIC_READ
>
> GENERIC_EXECUTE
>
> BUILTIN\Administrators:F
> BUILTIN\Administrators:(OI)(CI)(IO)F
> NT AUTHORITY\SYSTEM:F
> NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F
> MYCOMP\User:F
> CREATOR OWNER:(OI)(CI)(IO)F

Ok thats all fine, :F gives you full control to the file, but it still didn't work.

The way we sorted it ws by setting: cacls tmp /G EVERYONE:F

Hope this helps and thanks Syzop for all the help! :D

Posted: Fri Nov 19, 2004 6:07 am
by aquanight
John{C} wrote:The way we sorted it ws by setting: cacls tmp /G EVERYONE:F
Do you realize that this command grants Full Control to Everyone? Meaning that anyone capable of logging in to your machine is permitted to read, modify, and delete files in the folder, and even modify the permissions? Since you seem to have it working with that, I strongly suggest that you narrow down those permissions as much as possible.

Posted: Fri Nov 19, 2004 10:29 pm
by John{C}
Yes Aquanight, thanks for that. I actually wrote the post in a hurry, and what i neaded to add was that after i changed the permissions to EVERYONE i changed it back to cacls tmp /G User:F and it worked fine.