Read-only files.

M

Mark Blain

What's a simple way to prevent accidental deletion of a critical file
while I'm cleaning up my folders? Setting the "read-only" attribute
alone doesn't do the trick.
 
S

Seth

Mark Blain said:
What's a simple way to prevent accidental deletion of a critical file
while I'm cleaning up my folders? Setting the "read-only" attribute
alone doesn't do the trick.
Set the file level permissions to read only. That means the account you are
operating from can't delete or modify the file.
 
C

Char Jackson

Set the file level permissions to read only. That means the account you are
operating from can't delete or modify the file.
That takes care of the first problem, preventing accidental deletion
of critical files, but how much cleaning up can a person do in 'read
only' mode? ;-)
 
M

Mark Blain

Set the file level permissions to read only. That means the
account you are operating from can't delete or modify the file.
I tried it. Still lets me delete the file. Why might that be?
 
S

Seth

Mark Blain said:
I tried it. Still lets me delete the file. Why might that be?
Need more details about your system to answer that. What flavor of the OS?
How is the drive formatted? What did you do to change the permissions?
 
M

Mark Blain

Need more details about your system to answer that. What flavor
of the OS? How is the drive formatted? What did you do to change
the permissions?
NTFS-formatted drive, Win7 Home Premium, standalone home pc.
I used "Method 2" from this website:
http://www.instantfundas.com/2010/12/how-to-protect-files-from-deletion-in.html
I've also tried:
- clearing the "include inheritable permissions" checkbox,
- creating a new, standard non-administrator account and re-testing
from there.
 
S

Seth

Mark Blain said:
NTFS-formatted drive, Win7 Home Premium, standalone home pc.
I used "Method 2" from this website:
http://www.instantfundas.com/2010/12/how-to-protect-files-from-deletion-in.html
I've also tried:
- clearing the "include inheritable permissions" checkbox,
- creating a new, standard non-administrator account and re-testing
from there.
Method 1 and 2 from that link should do the trick. The only difference
between them really is one is file level (specific files) where the other is
an entire folder approach. The article also doesn't specify flavor of
Windows but does specifically list NTFS as a requirement (which you've
confirmed you are using).

Maybe this doesn't work on the "Home" flavors? I don't have any to check.
All my systems are Ultimate and Enterprise and it works here.
 
M

Mark Blain

Method 1 and 2 from that link should do the trick. The only
difference between them really is one is file level (specific
files) where the other is an entire folder approach. The article
also doesn't specify flavor of Windows but does specifically list
NTFS as a requirement (which you've confirmed you are using).

Maybe this doesn't work on the "Home" flavors? I don't have any to
check. All my systems are Ultimate and Enterprise and it works
here.
The only thing I’ve found so far that works is to completely delete all
permissions from the file, which is fun but not helpful. I’ll keep
plugging away. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top