Command for Setting Permission ?
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Command for Setting Permission ?

 
Post new topic   Reply to topic    Windows Server Forum Index -> General Discussion
Author Message
amir
Guest





Posted: Sat Nov 05, 2005 1:50 pm    Post subject: Command for Setting Permission ? Reply with quote

Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission ,,
but I cant do that from command line with cacls command becouse this command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .
Back to top
Pegasus (MVP)
Guest





Posted: Sat Nov 05, 2005 5:50 pm    Post subject: Re: Command for Setting Permission ? Reply with quote

"amir" <amir@discussions.microsoft.com> wrote in message
news:6430FD04-80D4-4EF6-827C-7BA4468C3E8F@microsoft.com...
Quote:
Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission ,,
but I cant do that from command line with cacls command becouse this
command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .

Try cacls.exe.
Back to top
amir
Guest





Posted: Sun Nov 06, 2005 9:50 am    Post subject: Re: Command for Setting Permission ? Reply with quote

your answer is very very very very useful and complete !?!?

is there anybody else out there?


"Pegasus (MVP)" wrote:

Quote:

"amir" <amir@discussions.microsoft.com> wrote in message
news:6430FD04-80D4-4EF6-827C-7BA4468C3E8F@microsoft.com...
Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission ,,
but I cant do that from command line with cacls command becouse this
command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .

Try cacls.exe.


Back to top
Pegasus (MVP)
Guest





Posted: Sun Nov 06, 2005 9:50 am    Post subject: Re: Command for Setting Permission ? Reply with quote

I'm sure there are lots of other people who have read
your post and I suspect that they thought that there
wasn't much they could add to my reply. Cacls.exe is
the standard tool for modifying permissions from the
Command Prompt - what else can one say?


"amir" <amir@discussions.microsoft.com> wrote in message
news:DE9C9A78-24FF-46C4-86F3-AE9CE75C254E@microsoft.com...
Quote:
your answer is very very very very useful and complete !?!?

is there anybody else out there?


"Pegasus (MVP)" wrote:


"amir" <amir@discussions.microsoft.com> wrote in message
news:6430FD04-80D4-4EF6-827C-7BA4468C3E8F@microsoft.com...
Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission
,,
but I cant do that from command line with cacls command becouse this
command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .

Try cacls.exe.


Back to top
Arek Iskra [MVP]
Guest





Posted: Sat Nov 12, 2005 9:50 am    Post subject: Re: Command for Setting Permission ? Reply with quote

"Arek Iskra [MVP]" <NoSpam_arek@arekiskra.com> wrote in message
news:uiHsYr05FHA.1864@TK2MSFTNGP12.phx.gbl...
Quote:
"amir" <amir@discussions.microsoft.com> wrote in message
news:6430FD04-80D4-4EF6-827C-7BA4468C3E8F@microsoft.com...
Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission ,,
but I cant do that from command line with cacls command becouse this
command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .


You could also use xcacls:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/xcacls-o.asp

And if you fancy scripting, here is an example how to use VBscript in
tandem with xcacls:
http://support.microsoft.com/?id=825751

Alternatively, if you still find GUI to be more appropriate, check out
AccessEnum from Sysinternals.com.



Ah, forgot the most powerful one (provided you figure out how to use it
properly):

Subinacl

--
Arek Iskra
MVP for Windows Server - Software Distribution
Back to top
Arek Iskra [MVP]
Guest





Posted: Sat Nov 12, 2005 9:50 am    Post subject: Re: Command for Setting Permission ? Reply with quote

"amir" <amir@discussions.microsoft.com> wrote in message
news:6430FD04-80D4-4EF6-827C-7BA4468C3E8F@microsoft.com...
Quote:
Hi ,

How can i set permission for a folder that shared in network , with a
command in command line ?
I can do this from win explorer in properties-->sharing-->permission ,,
but I cant do that from command line with cacls command becouse this
command
just change acl list of file and folders in security tab , but not
permissions !

Please Help .

best regard .,,, amir .


You could also use xcacls:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/xcacls-o.asp

And if you fancy scripting, here is an example how to use VBscript in tandem
with xcacls:
http://support.microsoft.com/?id=825751

Alternatively, if you still find GUI to be more appropriate, check out
AccessEnum from Sysinternals.com.

--
Arek Iskra
MVP for Windows Server - Software Distribution
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB