bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk - 'inplace' feature ignores file's access flags (rea


From: Eli Zaretskii
Subject: Re: [bug-gawk] gawk - 'inplace' feature ignores file's access flags (read-only)
Date: Tue, 16 Jun 2015 21:47:45 +0300

> Date: Tue, 16 Jun 2015 12:37:05 -0600
> From: Bob Proulx <address@hidden>
> 
> This is one of those common pitfalls that people often fall into.  It
> is a misconception to think that permissions on a file prevent the
> file from being removed.  It does not.  If one wishes to prevent a
> file being removed then it is the permissions on the directory holding
> the file that either allow or prevent it.

On Unix, yes.  But people coming from Windows expect that a read-only
file cannot be deleted -- you get an "Access denied" error.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]