Page 1 of 1 1
Topic Options
#188210 - 2008-06-13 12:38 PM permissions and inheriting
Jlmartinez Offline
Getting the hang of it

Registered: 2008-05-20
Posts: 75
Loc: Sevilla, Spain

How to put permissions on a folder, without inheriting the folders underneath?

FOLDER (permissions A)
---
|sub-folder (permissions B, not equal A)

Top
#188211 - 2008-06-13 12:59 PM Re: permissions and inheriting [Re: Jlmartinez]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
The XCacls.exe command, without the /E switch, will reset permissions.
 Code:
$Perms = 'userid:C'
$Cmd = 'XCACLS.EXE ' + $File + ' /G Administrators:F SYSTEM:F ' + $Perms

Remember, best practice is to always grant admins & system full control. Outside of home folders, users never get full control on files or folders.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#188216 - 2008-06-14 12:02 PM Re: permissions and inheriting [Re: Glenn Barnas]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I don't give a user FULL on anything even home folders. MODIFY is the highest they get.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 475 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.053 seconds in which 0.025 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org