linux - How to prevent the accidental deletion of a file but give write permission -


i have status file called dbstatus.log in linux , want prevent accidental deletion. tried chattr -a filename, when try write file using script, it's giving error e212: can't open file writing.

can please suggest me how prevent deletion of file give write permission. current permissions -rw-rw-r--.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -