Re: Sharing and Security on File Share
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Fri, 29 Sep 2006 17:37:18 +1000
Use these command:
net use q: \\YourServer\Test
dir q: > c:\test.txt
md q:\xxx 1>> c:\test.txt 2>>&1
cacls q:\xxx >> c:\test.txt
net user %UserName% /domain >> c:\test.txt
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DAC81962-F11B-45F6-982F-F06BE2D07A4B@xxxxxxxxxxxxxxxx
I am logged in as ksegale on her PC. I ran all commands you requestedwhen
Type these commands:
net use q: \\YourServer\Test
dir q: > c:\test.txt
md q:\xxx 1>> c:\test.txt 2>>&1
cacls q:\xxx >> c:\test.txt
net user %UserName% >> c:\test.txt
When I got to the command:
net user ksegale >> c:\test.txt
I received an error indicating the user did not exist. How can that be
I'm logged in as ksegale???received an
What is it that I need to resolve???
Rogene
"Pegasus (MVP)" wrote:
Well, this is obviously something for you to resolve!
Your previous note contained the line
User name ksegale
and now you're saying that this user does not
exist . . .
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3C50F15C-A174-4B33-89D0-49284155F299@xxxxxxxxxxxxxxxx
I was able to run all commands, except your last command and I
lasterror indicating the user could not be found:
H:\>net user ksegale >> c:\test.txt
The user name could not be found.
The xxx dirctory was created in the test folder.
The results in the test.txt file are below for everything except the
Userscommand:group,
Volume in drive Q has no label.
Volume Serial Number is 1488-BE90
Directory of Q:\
09/28/2006 08:07 PM <DIR> .
09/28/2006 08:07 PM <DIR> ..
09/09/2005 09:52 AM 53 License10_0.txt
1 File(s) 53 bytes
2 Dir(s) 621,924,376,576 bytes free
q:\xxx BUILTIN\Administrators:(OI)(CI)F
dca\Crescendo:(OI)(CI)F
dca\Domain Users:(OI)(CI)R
"Pegasus (MVP)" wrote:
- Log on as ksegale on her own PC
- Open a Command Prompt
- Type these commands:
net use q: \\YourServer\Test
dir q: > c:\test.txt
md q:\xxx 1>> c:\test.txt 2>>&1
cacls q:\xxx >> c:\test.txt
net user %UserName% >> c:\test.txt
then post c:\test.txt.
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A7F4AC4E-9680-40EC-8E2B-8FD8E514CD47@xxxxxxxxxxxxxxxx
This is the same test on a user who is not part of the "crescendo"
but
yet has access to the share.
D:\Shares\test BUILTIN\Administrators:(OI)(CI)F
dca\Crescendo:(OI)(CI)F
dca\Domain Users:(OI)(CI)R
User name ksegale
Full Name Katie Segale
Comment Precision PR
User's comment
Country code (null)
Account active Yes
Account expires Never
Password last set 1/27/2006 10:37 AM
Password expires 3/13/2006 10:37 AM
Password changeable 1/27/2006 10:37 AM
Password required Yes
User may change password Yes
Workstations allowed All
Logon script SBS_LOGIN_SCRIPT.bat
User profile
Home directory \\server\users\ksegale
Last logon 2/6/2006 10:56 AM
Logon hours allowed All
Local Group Memberships
Global Group memberships *Precision *SBS Mobile
Business--------------------------------------------------------------------------*Domain Users
The command completed successfully.
Share name Resource Remark
objects"-----
Resources$ C:\Program Files\Exchsrvr\res "Event logging files"
C$ C:\ Default share
ADMIN$ C:\WINDOWS Remote Admin
print$ C:\WINDOWS\system32\spool\drivers
Printer Drivers
D$ D:\ Default share
IPC$ Remote IPC
Acct D:\Acct
Address C:\Program Files\Exchsrvr\address
"Access to address
ClientApps D:\ClientApps Windows Small
BusinessServer
Clie
clients C:\Program Files\Microsoft Windows Small Business
Server\ClientSetup\Clients
Windows Small
trackingServer
Clie
Crescendo D:\Shares\Crescendo
DCACapital D:\Shares\DCACapital
Douglas D:\Shares\Douglas
ITdoc D:\Shares\IT Documentation IT Documentation
NETLOGON C:\WINDOWS\SYSVOL\sysvol\dca.local\scripts
Logon server share
Precision D:\Shares\Precision
SERVER.LOG C:\Program Files\Exchsrvr\SERVER.log
Exchange message
3550programslogs
SYSVOL C:\WINDOWS\SYSVOL\sysvol Logon server share
test D:\Shares\test
tsclient C:\WINDOWS\system32\clients\tsclient
tsweb C:\WINDOWS\web\tsweb
Users D:\Home Directory Automatic caching of
and documents
VPHOME d:\program files\sav Symantec AntiVirus
VPLOGON d:\program files\sav\logon Symantec AntiVirus
Worldbridge D:\Shares\Worldbridge
DCAColor IP_192.168.16.4 Spooled HP Color LaserJet
Scanner,
DCALaser IP_192.168.16.3 Spooled DCALaser
DCAreception IP_192.168.16.6 Spooled HP Printer, Fax,
e-STUDIO450Seriesand
Copi
HPColor2 IP_192.168.16.13 Spooled CrescendoColor2
Toshiba \\192.168.16.5\print Spooled TOSHIBA
thePCL6
The command completed successfully.
"Pegasus (MVP)" wrote:
User "rogene" is a member of the "crescendo" group.
The crescendo group has full read/write access to the
folder d:\shares\test. No surprises there . . .
"Pegasus (MVP)" wrote:
The correct commands are:
cacls "D:\Shares\test" > c:\test.txt {Enter}
net user rogene >> c:\test.txt {Enter}
net share >> c:\test.txt {Enter}
It would be helpful if you answered my question about
your level of experience.
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:018EB97E-D306-4E7D-911D-8A8AD672E4A9@xxxxxxxxxxxxxxxx
Ok, now I've tried the following and each provides me with
groupsame
error
"The system cannot find the file specified.
By the way, "Rogene" was the user name that is in the
messagespecified
c:\test.txtwith
permission to the folder.
D:\Shares\test>cacls "d:\shares\test rogene" > c:\test.txt
The system cannot find the file specified.
D:\Shares\test>cacls "d:\shares\test net user rogene" >
The system cannot find the file specified.
D:\Shares\test>cacls "d:\shares\test net license10_0.txt"
c:\test.txt
The system cannot find the file specified.
D:\Shares\test>dir
Volume in drive D has no label.
Volume Serial Number is 1488-BE90
Directory of D:\Shares\test
09/28/2006 08:07 PM <DIR> .
09/28/2006 08:07 PM <DIR> ..
09/09/2005 09:52 AM 53 License10_0.txt
1 File(s) 53 bytes
2 Dir(s) 621,924,503,552 bytes free
"Pegasus (MVP)" wrote:
You need double quotes, as Jerold pointed out, and you
omitted the redirection symbol (>).
cacls "d:\shares\test rogene" > c:\test.txt
You should also state your level of experience. Since
you manage a server I assume that you are a server
administrator and I word my replies accordingly. I may
be wrong in my assumption.
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:A33AC2BD-CA28-4A0C-8A07-BD5E0D79CACF@xxxxxxxxxxxxxxxx
meI'm not sure what is wrong with the command you asked
Contents,to
entering:enter,
but
nothing is in the txt file. This is the comand I'm
message
D:\Shares\test>cacls d:\shares\test rogene c:\test.txt
Please advise.
Rogene
"Pegasus (MVP)" wrote:
"Rogene" <Rogene@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:F3039773-599A-4B7D-A02E-1A1B5337D0F2@xxxxxxxxxxxxxxxx
I have a Windows 2003 SBS with several shares:
\\server\dca
Sharing Tab:
Share name = dca
Permissions Button:
Administrators - Full Control
DCA (Security Group) - Full Control
Security Tab:
Administrators - Full Control
Domain Users - Read & Execute, List Folder
groupsRead
SecurityDCA (Security Group) - Full Control
My expectation is that only the members of DCA
everyoneGroup
would be
able
to view, read, and write to this share. However,
in
the
domain
is
able to view, read, and write.
What do I need to change, so only the security
expectation.I
want
to
view,
read,
and write have access?
Thanks,
Rogene
What you report is at variance with my own
thefrom aLet's
nail
it down by getting some hard evidence, by doing this
Command Prompt:
cacls d:\Data\dca > c:\test.txt
(insert the correct path for the folder that hosts
DCA
share)
net user xxx >> c:\test.txt
.
- Follow-Ups:
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- References:
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- From: Pegasus \(MVP\)
- Re: Sharing and Security on File Share
- From: Rogene
- Re: Sharing and Security on File Share
- Prev by Date: RE: CACLS error when revoking permissions
- Next by Date: Hard Drive --- checkDisk problem
- Previous by thread: Re: Sharing and Security on File Share
- Next by thread: Re: Sharing and Security on File Share
- Index(es):