Mail Archives: djgpp-workers/2001/06/09/12:47:41
According to Eli Zaretskii:
> > Because there's a readonly attribute. If you want a file readonly you
> > set this attribute not the SYSTEM or HIDDEN bits.
>
> So you are saying that a file with a HIDDEN or SYSTEM attribute set
Those usually do have the readonly bit set too, so there ought not be
a problem.
> should look to a user of "ls -l" as a normal file? How would that
> user then guess the reason for the strange behavior she observes when
> DOS commands and functions are invoked on those files?
Well, if he uses DOZE commands he's not using ls...
> In other words, the write bit in the Posix mode bits was the only way
> `stat' could relate to a program that such files are special. It's
> not a bad approximation, given how many years it works without
> complaints.
>
> Could you please explain what exactly is wrong with that? Why did it
> annoy you that .cvsignore was shown as not writable?
1. As I said, it's a lie. The readonly bit isn't set so the file isn't
readonly.
2. Why it annoys me immensly is that I routinely do "cp -a
v:/my/cvs/tree/of/djgpp/src/* /djgpp/src.compiling/" while
developing. And now I get a ton of warnings from cp because the copy
made the previous run of cp is set to readonly.
Right,
MartinS
- Raw text -