We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

How do I make a file NOT deletable?

Hi,

I have a backup of my computer on another partition and I was wondering is it possible to set the file so that it can't be deleted by mistake? I know you can hide it, but its the foolproof way of setting can't be deleted that I want

Joe
«1

Comments

  • joemardo1 wrote:
    Hi,

    I have a backup of my computer on another partition and I was wondering is it possible to set the file so that it can't be deleted by mistake? I know you can hide it, but its the foolproof way of setting can't be deleted that I want

    Joe

    I'm not sure you can (but I could be wrong).

    Otherwise, all viruses would encompass the bomb-proof facility?
    You'll always miss 100% of the shots you don't take - Wayne Gretzky

    Any advice that you receive from me is worth exactly what you paid for it. Not a penny more or a penny less.
  • espresso
    espresso Posts: 16,448
    Part of the Furniture 10,000 Posts Combo Breaker
    Forumite
    You could make use of TrueCrypt to create your backup.
    :doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:
  • johnmcn
    johnmcn Posts: 60 Forumite
    cant you just right click it and check 'read only' ?
  • geordie_joe
    geordie_joe Posts: 9,112
    1,000 Posts Combo Breaker
    Forumite
    joemardo1 wrote:
    Hi,

    I have a backup of my computer on another partition and I was wondering is it possible to set the file so that it can't be deleted by mistake? I know you can hide it, but its the foolproof way of setting can't be deleted that I want

    Joe

    In My Computer right click on the file, choose properties and make it Read Only.

    It won't protect it fully, but should ask you "Are your sure" before you delete it.
  • espresso
    espresso Posts: 16,448
    Part of the Furniture 10,000 Posts Combo Breaker
    Forumite
    johnmcn wrote:
    cant you just right click it and check 'read only' ?

    Yes but that will simply cause a confirmation window to be spawned and not prevent deletion.
    :doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:
  • geordie_joe
    geordie_joe Posts: 9,112
    1,000 Posts Combo Breaker
    Forumite
    espresso wrote:
    Yes but that will simply cause a confirmation window to be spawned and not prevent deletion.

    It's probaly the best you can do. You could put it in a folder on it's own and set the permissions on that folder so that only the Administrator has permission to access it.

    If you don't normaly log on using the Administrator account then it would keep the file safer.
  • phill79
    phill79 Posts: 494 Forumite
    It's probaly the best you can do. You could put it in a folder on it's own and set the permissions on that folder so that only the Administrator has permission to access it.

    If you don't normaly log on using the Administrator account then it would keep the file safer.


    I agree, this is the only way it can be done (with no add on software). You must set "read" security permissions only, on the folder and propergate down. If you set anything else, eg, modify, then they will be able to change/delete it.....unfortunately, you will need to give at least 1 user full access.
  • Thanks for all replies.

    Joe
  • "How do I make a file NOT deletable?" .. Burn it to a DVD. +R/-R
    Ever get the feeling you are wasting your time? :rolleyes:
  • Right mouse click on the folder that the file is in and select PROPERTIES. Click on the SECURITY tab. Click on the Advanced button. On the PERMISSIONS tab in 'PERMISSIONS ENTRIES' click the ADD button. In the NAME field type in 'EVERYONE' and click OK. You will be presented with a list of things everyone can do in that folder, ie:

    Traverse Folder / Execute File
    List Folder / Read Data
    Read Attributes...

    In the list find:

    Delete Subfolders and Files
    Delete

    Put a tick mark in the DENY column for both of these items and click APPLY. Then keep clicking OK until you've closed all the windows you've just opened.

    You should now find that you cant delete the file. A potential problem could be that you cant delete any other file in that folder either.

    Hope this helps.
    SIMPLE SIMON - Met a pie man going to the fair. Said Simple Simon to the pie man, "What have you got there?" Said the pie man unto Simon, "Pies, you simpleton!"
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

Categories

  • All Categories
  • 356K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.3K Spending & Discounts
  • 248.5K Work, Benefits & Business
  • 606.3K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 264.1K Travel & Transport
  • 1.6M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.