bash - Cannot move or delete files even after chown and chmod -


I can not move or delete files in my home directory even after chmod And chown .

At first glance it seems that the permissions have been set correctly.

  user @ f9195084fbf8: ~ $ ls -lah total 32 quadx-xr-x 18 user user 4.0k Oct 8 17:35. Drwxr-xr-x 16 Route root 4.0K Oct 8 04:57 .. -RWXR-XR-X1 user user 220 April 3 2012 .bash_logout -rwxr-xr-x 1 user user 3.5K 3 April 2012 .bashrc drwxr- Xr-x2 User User 4.0K 8 Oct 05:43 .matplotlib drwxr-xr-x 2 User User 4.0K Oct 8 17:19 .pip -rwxr-xr-x 1 User User 675 April 3 2012 .Profile drwxr-xr -x 15 user user 4.0K Oct 8 04:58 .virtualenvs   

but I can not remove existing files

  user @ f9195084fbf8: ~ $ Rm .bashrc rm: `.bashrc 'can not be removed: Operation is not allowed   

so I try to chown and chmod , but it still does not work. User @ f9195084fbf8: ~ $ Pseudo Chown -r $ USER: $ GROUP User @ f9195084fbf8: ~ $ sudo chmod -R 755 user @ f9195084fbf8: ~ $ rm .bashrc rm: can not delete `.bashrc ': operation is not allowed user @ f9195084fbf8: ~ $ mv .bashrc .virtualenvs / mv: `.bashrc 'can be taken to` .virtualenvs / .bashrc': Operation is not allowed

However, I can write and delete the newly created files. Test.txt user @ f9195084fbf8: ~ $ ls test.txt user @ f9195084fbf8: ~ $ rm test.txt

Has any immovable property fixed on file?

  lsattr.bashrc   

If so, you can fix it by:

  chattr - I -a .bashrc   

Run to view flags, or check.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -