Solved

how to prevent folders copied to new share from becoming read only

Posted on 2007-04-05
14
222 Views
Last Modified: 2010-04-18
New Windows 2003 server was set up as file, AD and DNS server.  Includes some shares that were taking the place of of a 2000 server.  When the files were copied over to the new shares, I was getting reports of "read only" status of files.  I looked at the share and everyone had full access.  After scratching my head for a while, I noticed that the properties of all the folders I copied over was a shaded read only!  I have to unchedk read only on EVERY folder, one by one, because if I select multiple folders, the read only box is unchecked!  This is a pretty big deal, as I will eventually have a thousand or so folders to uncheck, one by one...  HELP
0
Comment
Question by:mchad65
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860676
It's a bogus property on folders - nothing to worry about...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860688
http://support.microsoft.com/kb/326549 details this: " the Read-only attribute for a folder is typically ignored by Windows"

You might also check:
http://support.microsoft.com/kb/256614
0
 

Author Comment

by:mchad65
ID: 18860706
Well, that is not true, at least in my case.  If you open a file, it opens as read only.  You can not overwrite it.  If you check the individual properties of the file, it is not read only....  No one can overwrite any of the files I copied over.
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 67

Expert Comment

by:sirbounty
ID: 18860718
Okay - well then it's the default W2k3 sharing problem. ;^)

By default, shares under W2k are Everyone/Full Control
Under W2k3 - they're Everyon/Read-Only
Change the 'sharing' permissions to Everyone/Full Control and you should be all set..
0
 

Author Comment

by:mchad65
ID: 18860731
That's the first thing I looked at.  Everyone has full control...  Still read only.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860743
Everyone has full on the share?  Or are you looking at security?

What does this produce?

Cacls \\server\share > c:\shareacl.txt
(post the txt file created)
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860747
How are you transferring the data over to the w2k3 server?
0
 

Author Comment

by:mchad65
ID: 18860757
I am looking at the share.  It just got worse.  I had a user open word, and save a file to the share, which saved fine.  Same user still can't open other files w/o being read only.  So it seems to be a file attribute issue...
0
 

Author Comment

by:mchad65
ID: 18860762
To answer your question, on the new server, I mapped a drive to the old server, highlighted and copied folders to the new share.
0
 

Author Comment

by:mchad65
ID: 18860782
when I run Cacls \\pcd\users > c:\shareacl.txt  I get network path not found...
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 18860811
Hmm...
I would suggest using robocopy to transfer your data (http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en)
This free tool from MS has the ability to transfer the security, timestamp, attributes, etc for the file transfer.
For instance, this would perform a server to server copy:

robocopy \\server1\share \\server2\share /mir /copyall /zb

*.* is assumed (all files)
/mir (mirror data - same as copying recursively - removing what's no longer in the source)
/copyall (equivalent to copy:datso (data, attributes, time stamps, security...)
/zb restartable/backup mode (for attempts to copy open files).

This is the preferred method for migrating data - as with NTFS, presumably what you're using for file system on your servers, data moved the way you did it inherits the target security...
0
 

Author Comment

by:mchad65
ID: 18860856
I figured it out.  It seemed to be a setting under the "security" tab of the drive.  I had to add the full control options to the "domain\users" object.  Once I did that, it worked.  Very strange.
0
 

Author Comment

by:mchad65
ID: 18860864
But thanks for the info on robocopy, that will come in handy...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18860868
Glad you got it sorted. :^)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 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