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

These are old archives. They are kept for historic purposes only.
Post Reply
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

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

Post 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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Post 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
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Post by Mr_S »

Nup - nothing moved....

un-install and re-install ya think??
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Do you always only read 1/3 of the answer/questions? :P
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Post 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!
John{C}
Posts: 8
Joined: Wed Nov 17, 2004 11:12 pm
Location: Canada

Post 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..... :?:
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post 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.
John{C}
Posts: 8
Joined: Wed Nov 17, 2004 11:12 pm
Location: Canada

Post 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)
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post 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.
John{C}
Posts: 8
Joined: Wed Nov 17, 2004 11:12 pm
Location: Canada

Post 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...
John{C}
Posts: 8
Joined: Wed Nov 17, 2004 11:12 pm
Location: Canada

Post 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
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.
John{C}
Posts: 8
Joined: Wed Nov 17, 2004 11:12 pm
Location: Canada

Post 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.
Post Reply