Solved

NTFS permissions for file copy and append but not read

Posted on 2012-03-29
4
646 Views
Last Modified: 2012-03-29
I've set up a scheduled robocopy batch file to copy files modified in the last three days from XP workstations to Server 2008 directories over a VPN.  I have the results appended to a log file on both sides.  

I'd like to set the permissions on the 2008 directories to allow the files to be copied and the log files to be appended but I don't want the end users to be able to browse their directories. Ideally I'd like their directory to appear empty of subfolders but if it's not possible, it'll have to do.  As of now I have each user set with special permissions (applied to subfolders and files) to:

List Folder/Read Data
Create Files/Write Data
Create Folders/Append Data

but I receive an access denied when using the batch file.  Is this possible or should I just figure out a different way?  FWIW I'm more interested in keeping unauthorized users from the directories, not so much the actual end users (I'm thinking someone that gets access to the machine when the normal user is away from keyboard).
0
Comment
Question by:Formic
  • 2
4 Comments
 
LVL 41

Expert Comment

by:Amit
Comment Utility
Goto to Admin Tools>Share and Storage Management Snapin, Click on the folder, on right hand pane, click properties, goto permission tab and set the ntfs permission and check again.
0
 
LVL 9

Accepted Solution

by:
Geodash earned 500 total points
Comment Utility
Setup a new user to run the script under

Run the script as a user with permissions that you have defined in NTFS

deny the end users access through NTFS

Take a look here

http://www.sevenforums.com/general-discussion/12936-how-run-batch-file-admin.html
0
 

Author Comment

by:Formic
Comment Utility
Thanks for the reply, but I realize I need to add more detail to my question.  

I have the TLD shared and accessible to all the users explicitly without inheriting down.  Then I have each directory for the users not shared and restricted to each user.  Example:

BACKUPS (Shared, Full Control, All users) - User1 (No share, Admin full, User1 Write)
                                                                                     - User2 (No Share, Admin full, User2 Write)


The snap-in doesn't allow me to manage each of the user folders because they are not shared.

Geodash:  I like your solution.  This isn't an AD environment so it's a little trickier than normal, as all the workstations have been set up randomly by different outsourced IT people over the years and the admin passes and users are a bit of a mess.  I'm new at this company, trying to clean it up and make it run correctly so it looks like I'll have to make a trip to each location to get them set up properly for this to work.

Thanks for the suggestions.
0
 
LVL 9

Expert Comment

by:Geodash
Comment Utility
Good Luck. I love clean-up projects! :-)
0

Featured Post

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Join & Write a Comment

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now