Re: Using cacls

From: Kent W. England [MVP] (kwe@mvps.org)
Date: 08/03/02


From: "Kent W. England [MVP]" <kwe@mvps.org>
Date: Fri, 2 Aug 2002 23:09:31 -0700

For heaven's sake, don't forget the "/e" option! If you do, the only access will be the one you just /granted. /t propagates permissions down.

Create a test folder and test your commands before you perpetrate some evil on a system folder.

-- 
Kent W. England, MS MVP for Windows XP
(Please respond only in the newsgroup)
Will Denny <willdenny@hotpop.com> wrote:
> Hi Jon
> 
> Sorry - I've just read back through my other postings in this thread
> re why you are using cacls :-((  I'm not sure what syntax you are
> using for cacls, but it should be in the format of:  
> 
> cacls (filename) /g (username:right)
> 
> cacls should work from any folder so long as %windir%\system32 is in
> your Path statement. 
> 
> Will
> 
> "Jon" <jstinebaugh@san.rr.com> wrote in message
> news:01b701c239f5$93d3feb0$9ee62ecf@tkmsftngxa05... 
>> Will,
>> 
>> I am using cacls because you suggested it in a previuos
>> post and I have seen it suggested in other posts about
>> similar problems.  I did get cacls to work.  I was able to
>> change the permissions to 'C" I also tried "f" for full
>> access.  I tried it both for "users" as well as granting
>> permission to a specific user and it did not help my
>> program run.  The problem is that the game is installed
>> in "c:program files" and then a shortcut is created in
>> the "documents and sharing\all users" folder.  I don't
>> want it in "all users" so i moved it to the "kids"
>> start\programs folder.  either way the game will only work
>> if I use "run as" command to run it as me (the
>> administrator).  I have tried to chage the program folder
>> so that it not read only but it always reverts back to
>> read only.  How do I alter the limited user acount.  I
>> have tried to find this but can't.  a lot of the options
>> they sugest in h & s don't help.  I think because I am not
>> set up as a network.? I will keep researching this
>> though.  I think this will help me with other programs as
>> well.  Like Eudora.  i basically had the same problem
>> where the limited users did not have access to write to
>> the temp files for the program so it would not open.
>> Sotty this post was so long, but I am trying to be clear.
>> 
>> Thanks for all your help
>> 
>> Jon
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002


Relevant Pages

  • Re: My Documents folder missing from My Computer
    ... creating a scheduled task did the folder disappear again and there was no way to get it back. ... This Computer" shows Shared Documents, Owner's Documents, and each of the ... If I give a limited user Administrator permissions and log on as that user, ...
    (microsoft.public.windowsxp.general)
  • Re: Help with cacls in WinXP Home
    ... Take Ownership of a File or Folder in Windows XP ... all the information I have of CACLS: ... Just because you can set permissions with Cacls doesn't mean you should. ... Try the Cacls command on a test folder first and make sure that your ...
    (microsoft.public.windowsxp.security_admin)
  • Re: CACLS
    ... Would "cacls /t /g user:F" help? ... any user with administrative privileges on the machine could ... take ownership of the file and reset the permissions. ... > the administrator could access my folder, and i want only my special user ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: xcacls + subfolders and files only
    ... change the default permissions on all folders whether they exist or not. ... still think that CACLS will do what you are wanting to do. ... folder named joe's folder, I would never expect any OS to know the correct ... then run the command NEWFOLDER username such as NEWFOLDER JOE ...
    (microsoft.public.win2000.security)
  • Re: Using cacls
    ... I did get cacls to work. ... the "documents and sharing\all users" folder. ... How do I alter the limited user acount. ... the temp files for the program so it would not open. ...
    (microsoft.public.windowsxp.security_admin)