|
|
|
|
|
by em-bee
453 days ago
|
|
`rm -i` with a yes to a read-only file does delete that file. But maybe I'm misunderstanding what you mean by it being a no-op. 'rm' (without '-i') does exactly the same. so for read-only files, '-i' changes nothing. whereas '-f' does change the behavior of 'rm' on read-only files. it doesn't just override '-i'. |
|
I had thought you mean that `rm -i` would do nothing to read-only files. Not that the flag itself was a no-op.