linux - How to delete files from directory using rm -rf? -


i have directory exam 2 files in it. need delete files permission denied. ![rm -rf][1] command can't delete these files. logged in root user.

# rm -rf exam_a # rm -rf exam_b 

enter image description here

enter image description here

from root user check attributes of files

# lsattr  

if notice i or a

# man chattr # chattr -i [filename] # chattr -a [filename] 

if doesn't work reboot system.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -