?
Solved

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

Posted on 2007-04-05
14
Medium Priority
?
227 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

752 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