1 Replies - 2907 Views - Last Post: 04 August 2007 - 12:12 AM Rate Topic: -----

#1 CodyOebel  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 25-July 07

I need script to be able to add FOLDER RIGHTS

Posted 03 August 2007 - 11:00 PM

new.member


Group: New Members
Joined: 25 Jul, 2007
Posts: 8


My Contributions



ok.. I am on a network, and I have a certain group that I want to add into a particular folders security rights.

I have looked at DOS command subinacl , but am not interpreting it correctly for use, or maybe Im in the wrong direction.


EXAMPLE:

so lets say we have a folder made on the local c:\ we will call this folder c:\books

now I want to add ww-killers\Guards to have full permission to everything in the c:\books
folder. Basically Full modify rights all through command line.

I'm hoping for a simple solution, but i dont mind working the neurons heh..
If anyone can post something usefull in c++, vb script, batch script I dont care, I am wanting to learn this, and I dont have internet at home and use internet at work to do as much research as I can cram.
Thanks !

Is This A Good Question/Topic? 0
  • +

Replies To: I need script to be able to add FOLDER RIGHTS

#2 CodyOebel  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 25-July 07

Re: I need script to be able to add FOLDER RIGHTS

Posted 04 August 2007 - 12:12 AM

View PostCodyOebel, on 3 Aug, 2007 - 11:00 PM, said:

new.member


Group: New Members
Joined: 25 Jul, 2007
Posts: 8


My Contributions



ok.. I am on a network, and I have a certain group that I want to add into a particular folders security rights.

I have looked at DOS command subinacl , but am not interpreting it correctly for use, or maybe Im in the wrong direction.


EXAMPLE:

so lets say we have a folder made on the local c:\ we will call this folder c:\books

now I want to add ww-killers\Guards to have full permission to everything in the c:\books
folder. Basically Full modify rights all through command line.

I'm hoping for a simple solution, but i dont mind working the neurons heh..
If anyone can post something usefull in c++, vb script, batch script I dont care, I am wanting to learn this, and I dont have internet at home and use internet at work to do as much research as I can cram.
Thanks !


Nm I figured it out myself.

It's used like such : cacls c:\YourFileDirectory /T /E /G "ww-killers\fat - mans:f"
Notice the spaces in the work group name.

If there is no space in the name , the quotations are not necessary.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1