HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Storage > CD Recording

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-05-2007, 02:06 PM
Mister.Fred.Ma@gmail.com
 
Posts: n/a
Default Files from DVD backup are Read-only

I made a backup of entire file trees onto DVD. Of course, they are
read-only. This means the write permission info is lost. When I copy
the tree back to a local hard drive, I have no choice but to
recursively grant write-permission throughout the entire file tree in
order to be able to use it. The only problem is that some files/
folders in the original file tree did not have write permission, and
probably for good situation-specific reasons. I just don't recall
which ones.

This must be a very common problem. How does one deal with that when
migrating entire file trees back onto local hard drives from backup
media (DVD or CD)? I know that I can preserve the permissions in the
backed-up files if I created a compressed tar file or zip file, but I
deliberately avoided that to make it easy to access individual files
and subtrees in the backup, and to avoid creating large monolithic
archive files that aggregate entire [sub]trees. The entire subtree is
lost if the archive file is corrupted.

Hopefully, there is a solution that doesn't do away with the read-only
attribute of the backup medium. Otherwise, the backup becomes
vulnerable to change.

Thanks.

Reply With Quote
Sponsored Links
  #2  
Old 10-05-2007, 04:01 PM
Dave Cohen
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

Mister.Fred.Ma@gmail.com wrote:
> I made a backup of entire file trees onto DVD. Of course, they are
> read-only. This means the write permission info is lost. When I copy
> the tree back to a local hard drive, I have no choice but to
> recursively grant write-permission throughout the entire file tree in
> order to be able to use it. The only problem is that some files/
> folders in the original file tree did not have write permission, and
> probably for good situation-specific reasons. I just don't recall
> which ones.
>
> This must be a very common problem. How does one deal with that when
> migrating entire file trees back onto local hard drives from backup
> media (DVD or CD)? I know that I can preserve the permissions in the
> backed-up files if I created a compressed tar file or zip file, but I
> deliberately avoided that to make it easy to access individual files
> and subtrees in the backup, and to avoid creating large monolithic
> archive files that aggregate entire [sub]trees. The entire subtree is
> lost if the archive file is corrupted.
>
> Hopefully, there is a solution that doesn't do away with the read-only
> attribute of the backup medium. Otherwise, the backup becomes
> vulnerable to change.
>
> Thanks.
>

You go to command prompt, navigate to top directory and type:
attrib /s -r
There are probably utilities that do same thing, but what could be easier.
Dave Cohen
Reply With Quote
  #3  
Old 10-05-2007, 06:18 PM
Mike Richter
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

Mister.Fred.Ma@gmail.com wrote:
> I made a backup of entire file trees onto DVD. Of course, they are
> read-only. This means the write permission info is lost. When I copy
> the tree back to a local hard drive, I have no choice but to
> recursively grant write-permission throughout the entire file tree in
> order to be able to use it. The only problem is that some files/
> folders in the original file tree did not have write permission, and
> probably for good situation-specific reasons. I just don't recall
> which ones.
>
> This must be a very common problem. How does one deal with that when
> migrating entire file trees back onto local hard drives from backup
> media (DVD or CD)? I know that I can preserve the permissions in the
> backed-up files if I created a compressed tar file or zip file, but I
> deliberately avoided that to make it easy to access individual files
> and subtrees in the backup, and to avoid creating large monolithic
> archive files that aggregate entire [sub]trees. The entire subtree is
> lost if the archive file is corrupted.
>
> Hopefully, there is a solution that doesn't do away with the read-only
> attribute of the backup medium. Otherwise, the backup becomes
> vulnerable to change.


Making files transferred from mastered optical media Read-Only is
consistent with the specs. Despite that, in XP (and, I assume, VISTA)
they are read as permitting write - whether or not they were originally
read-only.

An easy solution to your problem is to archive the tree (ZIP, RAR, etc.)
retaining folder structure. That will retain the original attributes.

Mike
--
mrichter@cpl.net
http://www.mrichter.com/
Reply With Quote
  #4  
Old 10-06-2007, 05:12 AM
Mister.Fred.Ma@gmail.com
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

On Oct 5, 12:01 pm, Dave Cohen <u...@example.net> wrote:
> Mister.Fred...@gmail.com wrote:
> > I made a backup of entire file trees onto DVD. Of course, they are
> > read-only. This means the write permission info is lost. When I copy
> > the tree back to a local hard drive, I have no choice but to
> > recursively grant write-permission throughout the entire file tree in
> > order to be able to use it. The only problem is that some files/
> > folders in the original file tree did not have write permission, and
> > probably for good situation-specific reasons. I just don't recall
> > which ones.

>
> > This must be a very common problem. How does one deal with that when
> > migrating entire file trees back onto local hard drives from backup
> > media (DVD or CD)? I know that I can preserve the permissions in the
> > backed-up files if I created a compressed tar file or zip file, but I
> > deliberately avoided that to make it easy to access individual files
> > and subtrees in the backup, and to avoid creating large monolithic
> > archive files that aggregate entire [sub]trees. The entire subtree is
> > lost if the archive file is corrupted.

>
> > Hopefully, there is a solution that doesn't do away with the read-only
> > attribute of the backup medium. Otherwise, the backup becomes
> > vulnerable to change.

>
> > Thanks.

>
> You go to command prompt, navigate to top directory and type:
> attrib /s -r
> There are probably utilities that do same thing, but what could be easier.


Dave,

I typed

atttrib /?

It seems to me that your command also recursively grants write
permission throughout the file tree. Hope I've understood...

Fred

Reply With Quote
  #5  
Old 10-06-2007, 05:14 AM
Mister.Fred.Ma@gmail.com
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

On Oct 5, 2:18 pm, Mike Richter <mrich...@cpl.net> wrote:
> Mister.Fred...@gmail.com wrote:
> > I made a backup of entire file trees onto DVD. Of course, they are
> > read-only. This means the write permission info is lost. When I copy
> > the tree back to a local hard drive, I have no choice but to
> > recursively grant write-permission throughout the entire file tree in
> > order to be able to use it. The only problem is that some files/
> > folders in the original file tree did not have write permission, and
> > probably for good situation-specific reasons. I just don't recall
> > which ones.

>
> > This must be a very common problem. How does one deal with that when
> > migrating entire file trees back onto local hard drives from backup
> > media (DVD or CD)? I know that I can preserve the permissions in the
> > backed-up files if I created a compressed tar file or zip file, but I
> > deliberately avoided that to make it easy to access individual files
> > and subtrees in the backup, and to avoid creating large monolithic
> > archive files that aggregate entire [sub]trees. The entire subtree is
> > lost if the archive file is corrupted.

>
> > Hopefully, there is a solution that doesn't do away with the read-only
> > attribute of the backup medium. Otherwise, the backup becomes
> > vulnerable to change.

>
> Making files transferred from mastered optical media Read-Only is
> consistent with the specs. Despite that, in XP (and, I assume, VISTA)
> they are read as permitting write - whether or not they were originally
> read-only.


They were read-only after uploading from CD onto the hard drive.
However, even if the uploaded files defaulted to not-read-only, this
still contains the problem of lost [not]readonly attribute.

> An easy solution to your problem is to archive the tree (ZIP, RAR, etc.)
> retaining folder structure. That will retain the original attributes.
>
> Mike
> --
> mrich...@cpl.nethttp://www.mrichter.com/



Reply With Quote
  #6  
Old 10-06-2007, 05:03 PM
Dave Cohen
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

Mister.Fred.Ma@gmail.com wrote:
> On Oct 5, 12:01 pm, Dave Cohen <u...@example.net> wrote:
>> Mister.Fred...@gmail.com wrote:
>>> I made a backup of entire file trees onto DVD. Of course, they are
>>> read-only. This means the write permission info is lost. When I copy
>>> the tree back to a local hard drive, I have no choice but to
>>> recursively grant write-permission throughout the entire file tree in
>>> order to be able to use it. The only problem is that some files/
>>> folders in the original file tree did not have write permission, and
>>> probably for good situation-specific reasons. I just don't recall
>>> which ones.
>>> This must be a very common problem. How does one deal with that when
>>> migrating entire file trees back onto local hard drives from backup
>>> media (DVD or CD)? I know that I can preserve the permissions in the
>>> backed-up files if I created a compressed tar file or zip file, but I
>>> deliberately avoided that to make it easy to access individual files
>>> and subtrees in the backup, and to avoid creating large monolithic
>>> archive files that aggregate entire [sub]trees. The entire subtree is
>>> lost if the archive file is corrupted.
>>> Hopefully, there is a solution that doesn't do away with the read-only
>>> attribute of the backup medium. Otherwise, the backup becomes
>>> vulnerable to change.
>>> Thanks.

>> You go to command prompt, navigate to top directory and type:
>> attrib /s -r
>> There are probably utilities that do same thing, but what could be easier.

>
> Dave,
>
> I typed
>
> atttrib /?
>
> It seems to me that your command also recursively grants write
> permission throughout the file tree. Hope I've understood...
>
> Fred
>


Yes, that's the /s switch. Current directory and everything below (I
assume that is what you want). Of course you can confine the changes to
current directory by omitting the switch.
Dave Cohen
Reply With Quote
  #7  
Old 10-10-2007, 12:19 AM
Mister.Fred.Ma@gmail.com
 
Posts: n/a
Default Re: Files from DVD backup are Read-only

On Oct 6, 1:03 pm, Dave Cohen <u...@example.net> wrote:
> Mister.Fred...@gmail.com wrote:
> > On Oct 5, 12:01 pm, Dave Cohen <u...@example.net> wrote:
> >> Mister.Fred...@gmail.com wrote:
> >>> I made a backup of entire file trees onto DVD. Of course, they are
> >>> read-only. This means the write permission info is lost. When I copy
> >>> the tree back to a local hard drive, I have no choice but to
> >>> recursively grant write-permission throughout the entire file tree in
> >>> order to be able to use it. The only problem is that some files/
> >>> folders in the original file tree did not have write permission, and
> >>> probably for good situation-specific reasons. I just don't recall
> >>> which ones.
> >>> This must be a very common problem. How does one deal with that when
> >>> migrating entire file trees back onto local hard drives from backup
> >>> media (DVD or CD)? I know that I can preserve the permissions in the
> >>> backed-up files if I created a compressed tar file or zip file, but I
> >>> deliberately avoided that to make it easy to access individual files
> >>> and subtrees in the backup, and to avoid creating large monolithic
> >>> archive files that aggregate entire [sub]trees. The entire subtree is
> >>> lost if the archive file is corrupted.
> >>> Hopefully, there is a solution that doesn't do away with the read-only
> >>> attribute of the backup medium. Otherwise, the backup becomes
> >>> vulnerable to change.
> >>> Thanks.
> >> You go to command prompt, navigate to top directory and type:
> >> attrib /s -r
> >> There are probably utilities that do same thing, but what could be easier.

>
> > Dave,

>
> > I typed

>
> > atttrib /?

>
> > It seems to me that your command also recursively grants write
> > permission throughout the file tree. Hope I've understood...

>
> Yes, that's the /s switch. Current directory and everything below (I
> assume that is what you want). Of course you can confine the changes to
> current directory by omitting the switch.


That's what I'm doing right now. The problem is that all the files
exist as read-only, since the the DVD is write-once media. This means
that the original permissions are lost. Making the whole file tree
writable is a highly suboptimum solution. I was wondering if there
was a way to keep the permissions of the original files, even though
they exist on write-once media. That is, if a file is writable before
being written to DVD, have the file retains the writable permission
even though it isn't writable. This is only so that when it is
uploaded back to a hard drive, the proper permissions are retained.

Again, I know you can preserved the while file tree, and the file
permissions, by using tar or zip, but I was hoping to avoid packing
the file tree into an aggregate file so as to simply access to the
files.

Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista File Backup - Backup Files From A Share Regardless Of Locati Dell Boy Windows Vista 9 09-17-2007 11:59 PM
read-only files Mike Windows Vista 5 07-22-2007 04:40 AM
One or two backup devices and what to read on restoring a system? Neo Windows XP 2 06-02-2007 04:22 AM
All files act as read-only! RT Microsoft Office 1 04-22-2007 07:02 PM
Read Only files Joey Microsoft Office 0 04-21-2007 02:32 AM


All times are GMT. The time now is 11:36 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger