Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Admin wants to share a directory with non-admin users

08 May 2014   #1
malik4

Windows 7 64 bit
 
 
Admin wants to share a directory with non-admin users

There is a user, Dad, with admin privileges on a Windows 7 machine (this is me).

There are other users, kid1 and kid2, with no admin privileges (my kids ;-) )

I want to let kid1 and kid2 access the contents of a directory in my userspace C:\Users\Dad\ . In fact it's not at the top level, let's say it's C:\Users\Dad\ownCloud\photos (because it is). I want to let kid1 have read/write access and kid2 read only access.

I navigated my way to C:\Users\Dad\ownCloud and then right-clicked on photos, clicked on properties, clicked on the sharing tab, and did what looked like the sensible thing (gave the kids the required access).

I then logged in as kid2 and attempted to find my way to C:\Users\Dad\ownCloud\photos. I got there -- but on the way I saw far too much -- kid2 can see a complete list of the names of all files and directories in D:\Users\Dad (not ideal) and also names of all files and directories in C:\Users\Dad\ownCloud (which is not acceptable, because that is my entire life in the cloud).

Is this expected behaviour when sharing directories in Windows? If not, what did I do wrong?

If so then this is no good and I guess I need a workaround. The problem is that I am not at all sure that I can move the directory, because it part of a cloud storage service (like Dropbox, but a different company) and as far as I know that directory ...\ownCloud\photos (the one I want to share with my kids) must be a subdirectory of ...\ownCloud (the one that I really don't want my kids to be able to view the contents of). Also not a viable solution is re-organizing the directory structure of ownCloud (i.e. putting photos at the top and everything else in another directory called "not_for_kids" or whatever -- the problem with that solution is that this directory ownCloud is shared by me on many machines and if I start changing things around then various scripts running on other machines would immediately fail -- the directory structure cannot be messed with, I think I need to have most directory names in C:\Users\Dad\ownCloud not visible, but the entire directory C:\Users\Dad\ownCloud\photos visible).

I'm not worried whether the kids can access the directory directly or via some network share or anything -- I just don't want them to see the names of all files and directories in C:\Users\Dad\ownCloud. In unix this would be easy to do, because one has very fine control on who can see what; one could remove read access from C:\Users\Dad but still allow read access to subdirectories. How does one do that in Windows?

PS Lol "I'm having trouble sharing" (a clickable option on the Share window). That sometimes applies to my kids -- nice to see that it applies to me today.


My System SpecsSystem Spec
.
08 May 2014   #2
MilesAhead

Windows 7 32 bit
 
 

NTFS Folder Permissions

I'm thinking if you create a symbolic link in C:\Users\Public you may be able to let the kids go directly to the shared folder. Perhaps then you can deny Traverse permission to block the parent folder. But I haven't done it myself.

Stoik Joker,who has the NTFS permissions page in the above link, is also a regular poster on DonationCoder.com. You may be able to ask for clarifications there. And of course someone with SysAdmin type experience may chime in here.

If you succeed using external info please post the solution.
My System SpecsSystem Spec
Reply

 Admin wants to share a directory with non-admin users




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Allowing access to non-admin users
Hey all, I need to allow some of our users to start an application on their workstations, but UAC will only allow admin users to start this application (control software for remote security cameras). The workstations are running Windows 7, and our server architecture is Server 2003. We'd...
Network & Sharing
Admin and Standard Account Users
Hi All, Windows 7 Professional 64bit I have used the guide on how to enable and hide the in-built admin account and was successful however I found that after making the account I used to set up Windows 7 from admin to standard user and then disabling the in-built admin account the UAC...
General Discussion
I need admin permission to delete/move file (but I'm both admin/owner)
Hi, I'm new to Windows 7. I'm still trying to master the file permissions.. I need some help and I'd appreciate it if someone could help me out. I have a folder with mp3s (created with my old Windows XP system). I've included this mp3s folder in the "my music" library and then I inspected...
System Security
one computer, 7 users accounts need to share admin documents
I want to be able to share Administrator documents and files with user acoounts on the same computer.... without having access to the internet. I only have one computer. But I have 7 different user accounts on that one computer. I want each of my users to have access to the Administrators...
Network & Sharing
Drives won't map for users with Admin rights
Today I was adding my first two Win7 client workstations to our Active Directory. We map drives via GPO to WinXP SP3 clients with no problems. Today I joined my first Win7 client with no problem. However, when I log in on the Win7 client (users with local admin priv) , I don't get any drive...
Network & Sharing
Windows7 admin & users
Hi! i have windows7 on my pc with an admin (me) and a normal user (my brother) part, every time i install a program, win7 don't ask me nothing, and install in both parts, now i want to install some programs only in my admin section, and i want the other users can't see the program i've installed,...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App