Want to share single folder 4 Folders deep.

K

Kardon Coupé

Hi All,

This folder I would like to share, is 4 folders deep within a directory
structure. I've tried setting it's permissions, but when trying to access
via the LAN I can't get to it, as the outer folders are unshared, the only
way I can get access to it is share the main root, which I don't want to do,
as it contains other folders I don't want shared.

Is it possible to do what I require? Or can someone point me in the correct
way of setting it up?

Regards
Paul.
 
P

Pegasus \(MVP\)

Kardon Coupé said:
Hi All,

This folder I would like to share, is 4 folders deep within a directory
structure. I've tried setting it's permissions, but when trying to access
via the LAN I can't get to it, as the outer folders are unshared, the only
way I can get access to it is share the main root, which I don't want to do,
as it contains other folders I don't want shared.

Is it possible to do what I require? Or can someone point me in the correct
way of setting it up?

Regards
Paul.

Try running this batch file on your machine. It illustrates that
you can easily achieve what you require.

Line1 @echo off
Line2 md c:\Test1\Test2\Test3\Test4
Line3 echo %date% %time% >c:\Test1\Test2\Test3\Test4\Test.txt
Line4 cacls c:\Test1 /e /g administrators:F
Line5 cacls c:\Test1 /e /t /r users
Line6 cacls c:\Test1\Test2 /e /t /g SomeUser:F
Line7 net share test =c:\Test1\Test2

Repeat Line5 until all users other than "administrators" are knocked out.

Now lauch "My Computer", right-click "c:\Test1\Test2" and ensure
that the ***share*** permissions (not the NTFS permissions!) give
full control to everyone.

You can now make a connection to the share \\YourPC\Test from
some other machine while logged on as SomeUser, without any
permission problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top