Hi ppl

I want to give access using Subinacl, but its not wokring.
Can anyone tell me whats wrong with the path and what is the correct path.
The program requires full rights to C:\Windows\Temp\ before builtin User can run the program.

"C:\Program Files\Tools\subinacl.exe" /subdirectories "C:\Windows\Temp\" /grant=Users=F

Thnx....
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi SKS,

Haven't played with subinacl permissions wise too much usually just use it to reset owners. The following should work.

subinacl.exe /subdirec "c:\windows\temp\*" /grant=Users=F
Answered 07/08/2009 by: syn
Senior Yellow Belt

Please log in to comment
0
Hi Syn

I tried what u posted but it didnt worked, but thnx for ur input...

This is working for sure :-)

subinacl.exe /subdirec "c:\windows\temp" /Grant=Users=F

The above line give full rights on Temp folder.

Cheers mate
Answered 07/09/2009 by: SKS
Orange Belt

Please log in to comment
0
Just be careful with that as you may also be granting permission to anything under c:\windows with a subdirectory of "temp" i.e. C:\WINDOWS\pchealth\helpctr\Temp

Just check output to make sure.
Answered 07/09/2009 by: syn
Senior Yellow Belt

Please log in to comment
0
u r right, it also grant access to other folders like C:\WINDOWS\pchealth\helpctr\Temp
but i only want to give accees to C:\WINDOWS\temp, ( which works but also give rights to other folders)

Look forward If you have any clue how only to give access to C:\WINDOWS\temp.

With below line it grant rights:
subinacl.exe /subdirec "c:\windows\temp" /Grant=Users=F

But how can i delete the rights, if i want to.
Answered 07/10/2009 by: SKS
Orange Belt

Please log in to comment
0
Are you set on using subinacl for some reason? Where possible I prefer to use windows built in files only because it saves on adding extra files into my packages. The below cmd will do what you want fine:

c:\windows\system32\cacls.exe "C:\windows\temp" /T /E /G users:C

I have that set to users with change (modify) rights as I don't like handing out full control as it's bit me in the ass with dodgy programs resetting owners etc.
Answered 07/12/2009 by: syn
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity