<div dir="ltr"><div class="gmail_default" style="font-size:small">In my LXC Ubuntu 14.04 server, I was trying to run <br></div><div class="gmail_default" style="font-size:small">apt-get -f install <br></div><div class="gmail_default" style="font-size:small">and found out that I cannot erase or create any file under /usr/sbin<br></div><div class="gmail_default" style="font-size:small">other dirs like /usr/bin are find<br><br></div><div class="gmail_default" style="font-size:small">The subdir /usr/sbin has identical atttributes to /usr/sbin in other servers, but it still does not work.<br></div><div class="gmail_default" style="font-size:small">This messed up my updates, since no file can be updated if inside /usr/sbin<br><br> stat /usr/sbin<br>  File: '/usr/sbin'<br>  Size: 12288           Blocks: 24         IO Block: 4096   directory<br>Device: 801h/2049d      Inode: 2100057     Links: 2<br>Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)<br>Access: 2015-03-07 21:34:04.880465440 -0500<br>Modify: 2015-12-03 05:25:29.241657014 -0500<br>Change: 2015-12-03 05:25:29.245657203 -0500<br><br>lsattr sbin/qemu-make-debian-root<br>-------------e-- sbin/qemu-make-debian-root<br></div><div class="gmail_default" style="font-size:small">and all files like that<br><br></div><div class="gmail_default" style="font-size:small">But<br>rm /usr/sbin/qemu-make-debian-root<br>rm: cannot remove '/usr/sbin/qemu-make-debian-root': Permission denied<br><br></div><div class="gmail_default" style="font-size:small">How I fix my /usr/sbin? I think this is a virus.<br><br>ls -la /usr/sbin -hls<br>total 9.9M<br>  12K drwxr-xr-x  2 root root   12K Dec  3 05:25 .<br> 4.0K drwxr-xr-x 11 root root  4.0K Dec 10 11:00 ..<br>  12K -rwxrwxrwx  1 root root   11K Sep  9 12:02 .chattr<br> 4.0K -rwxrwxrwx  1 root root  2.6K Jun 18 02:48 aa-exec<br> 8.0K -rwxrwxrwx  1 root root  6.5K Jun 18 02:48 aa-status<br>  12K -rwxrwxrwx  1 root root   11K Sep 23  2014 accessdb<br>  48K -rwxrwxrwx  1 root root   47K Apr  3  2014 acpid<br> 4.0K -rwxrwxrwx  1 root root   695 Aug 28  2013 add-shell<br>    0 lrwxrwxrwx  1 root root     7 Nov  7  2014 addgroup -> adduser<br>  36K -rwxrwxrwx  1 root root   35K Nov  7  2013 adduser<br> 4.0K -rwxrwxrwx  1 root root  2.7K Nov  9  2014 amuFormat.sh<br>    0 lrwxrwxrwx  1 root root     9 Jun 18 02:48 apparmor_status -> aa-status<br>  56K -rwxrwxrwx  1 root root   55K Aug  5  2014 arp<br>  40K -rwxrwxrwx  1 root root   39K Jul 23 12:19 arpd<br> 4.0K -rwxrwxrwx  1 root root   616 Nov  9  2014 ast.sh<br> 4.0K -rwxrwxrwx  1 root root    62 Nov  9  2014 astreset.sh<br>  24K -rwxrwxrwx  1 root root   23K Oct 21  2013 atd<br> 8.0K -rwxrwxrwx  1 root root  4.8K Nov  9  2014 atigetsysteminfo.sh<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 avcstat<br>  20K -rwxrwxrwx  1 root root   19K Sep 16  2013 biosdecode<br>  28K -rwxrwxrwx  1 root root   27K Apr 21  2015 chat<br> 4.0K -rwxrwxrwx  1 root root   340 Nov  9  2014 check_dialers.sh<br> 4.0K -rwxrwxrwx  1 root root   148 Nov  9  2014 check_lxc.sh<br> 4.0K -rwxrwxrwx  1 root root   143 Nov  9  2014 check_net.sh<br> 4.0K -rwxrwxrwx  1 root root  1.1K Sep 21 06:45 check_servers.sh<br>  52K -rwxrwxrwx  1 root root   51K Jul 15 15:29 chgpasswd<br>  48K -rwxrwxrwx  1 root root   47K Jul 15 15:29 chpasswd<br>  32K -rwxrwxrwx  1 root root   31K Jan 13  2015 chroot<br> 4.0K -rwxrwxrwx  1 root root   242 Nov  9  2014 clean-genome.sh<br> 4.0K -rwxrwxrwx  1 root root  2.7K Nov  9  2014 commands.sh<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 compute_av<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 compute_create<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 compute_member<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 compute_relabel<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 compute_user<br>    0 lrwxrwxrwx  1 root root     4 Jul 15 15:29 cpgr -> cppw<br>  52K -rwxrwxrwx  1 root root   49K Jul 15 15:29 cppw<br>  44K -rwxrwxrwx  1 root root   44K Feb  9  2013 cron<br>  16K -rwxrwxrwx  1 root root   15K Sep  2 14:35 cytune<br>  20K -rwxrwxrwx  1 root root   19K Nov  3 10:36 debootstrap<br>    0 lrwxrwxrwx  1 root root     7 Nov  7  2014 delgroup -> deluser<br>  20K -rwxrwxrwx  1 root root   17K Nov  7  2013 deluser<br> 4.0K -rwxrwxrwx  1 root root   169 Nov  9  2014 dialer-update.sh<br> 100K -rwxrwxrwx  1 root root   99K Sep 16  2013 dmidecode<br> 292K -rwxrwxrwx  1 root root  289K May  1  2015 dnsmasq<br> 4.0K -rwxrwxrwx  1 root root  3.6K Feb 23  2014 dpkg-preconfigure<br> 8.0K -rwxrwxrwx  1 root root  4.7K Feb 23  2014 dpkg-reconfigure<br>  12K -rwxrwxrwx  1 root root   11K Sep  9 12:02 e2freefrag<br>  28K -rwxrwxrwx  1 root root   27K Sep  9 12:02 e4defrag<br> 4.0K -rwxrwxrwx  1 root root    48 Nov  9  2014 en.sh<br>  12K -rwxrwxrwx  1 root root   11K Sep  2 14:35 fdformat<br>  16K -rwxrwxrwx  1 root root   15K Sep  9 12:02 filefrag<br> 4.0K -rwxrwxrwx  1 root root   760 Nov  9  2014 firewall.sh<br>  12K -rwxrwxrwx  1 root root   11K Nov  9  2014 genk.sh<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 getconlist<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 getdefaultcon<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 getenforce<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 getfilecon<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 getpidcon<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 getsebool<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 getseuser<br> 8.0K -rwxrwxrwx  1 root root  4.6K Nov  9  2014 gettext.sh<br>  56K -rwxrwxrwx  1 root root   55K Jul 15 15:29 groupadd<br>  52K -rwxrwxrwx  1 root root   51K Jul 15 15:29 groupdel<br>  68K -rwxrwxrwx  1 root root   65K Jul 15 15:29 groupmod<br>  52K -rwxrwxrwx  1 root root   51K Jul 15 15:29 grpck<br>  48K -rwxrwxrwx  1 root root   47K Jul 15 15:29 grpconv<br>  48K -rwxrwxrwx  1 root root   47K Jul 15 15:29 grpunconv<br>    0 lrwxrwxrwx  1 root root    35 Sep 30 11:03 grub-bios-setup -> ../lib/grub/i386-pc/grub-bios-setup<br> 948K -rwxrwxrwx  1 root root  945K Sep 30 11:03 grub-install<br> 744K -rwxrwxrwx  1 root root  742K Sep 30 11:03 grub-macbless<br> 8.0K -rwxrwxrwx  1 root root  7.8K Sep 30 11:01 grub-mkconfig<br> 196K -rwxrwxrwx  1 root root  193K Sep 30 11:03 grub-mkdevicemap<br> 756K -rwxrwxrwx  1 root root  755K Sep 30 11:03 grub-probe<br> 8.0K -rwxrwxrwx  1 root root  4.1K Sep 30 11:01 grub-reboot<br> 4.0K -rwxrwxrwx  1 root root  3.5K Sep 30 11:01 grub-set-default<br>  36K -rwxrwxrwx  1 root root   35K Feb 25  2015 iconvconfig<br>  16K -rwxrwxrwx  1 root root   15K Nov 21 01:48 init.lxc<br> 844K -rwxrwxrwx  1 root root  842K Nov 21 01:48 init.lxc.static<br> 8.0K -rwxrwxrwx  1 root root  4.5K Dec  5  2012 install-sgmlcatalog<br> 4.0K -rwxrwxrwx  1 root root  4.0K Nov  9  2014 install_64.sh<br> 4.0K -rwxrwxrwx  1 root root  1.3K Nov  9  2014 install_fedora_container.sh<br>  16K -rwxrwxrwx  1 root root   15K Jun 14 23:31 invoke-rc.d<br>    0 lrwxrwxrwx  1 root root    14 Jan  8  2014 ip6tables-apply -> iptables-apply<br> 4.0K -rwxrwxrwx  1 root root   108 Nov  9  2014 iperfclient.sh<br> 4.0K -rwxrwxrwx  1 root root    38 Nov  9  2014 iperfserver.sh<br> 4.0K -rwxrwxrwx  1 root root   177 Nov  9  2014 ipt.sh<br> 8.0K -rwxrwxrwx  1 root root  6.9K Jan  8  2014 iptables-apply<br>  44K -rwxrwxrwx  1 root root   44K Sep 11 05:31 irqbalance<br> 4.0K -rwxrwxrwx  1 root root  2.6K Mar  6  2010 laptop-detect<br> 4.0K -rwxrwxrwx  1 root root   272 Nov  9  2014 large_systems.sh<br>  16K -rwxrwxrwx  1 root root   15K Sep  2 14:35 ldattach<br> 4.0K -rwxrwxrwx  1 root root   393 Mar  7  2015 listppa.sh<br> 8.0K -rwxrwxrwx  1 root root  6.5K Feb 14  2014 locale-gen<br>  64K -rwxrwxrwx  1 root root   64K Jan 22  2014 logrotate<br> 4.0K -rwxrwxrwx  1 root root   164 Feb 16  2015 make_tty.sh<br> 4.0K -rwxrwxrwx  1 root root   414 Nov  9  2014 mass_replace_macs.sh<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 matchpathcon<br> 8.0K -rwxrwxrwx  1 root root  4.5K Nov  9  2014 menu.sh<br>  12K -rwxrwxrwx  1 root root  9.9K Mar  3  2014 mkinitramfs<br>  12K -rwxrwxrwx  1 root root   11K Sep  9 12:02 mklost+found<br> 4.0K -rwxrwxrwx  1 root root    30 Nov  9  2014 net.sh<br> 4.0K -rwxrwxrwx  1 root root   797 Nov  9  2014 network-settings.sh<br> 4.0K -rwxrwxrwx  1 root root   179 Nov 11  2014 newmac.sh<br>  72K -rwxrwxrwx  1 root root   71K Jul 15 15:29 newusers<br>  16K -rwxrwxrwx  1 root root   15K Jan  8  2014 nfnl_osf<br> 8.0K -rwxrwxrwx  1 root root  6.2K Jul 15 15:29 nologin<br> 108K -rwxrwxrwx  1 root root  105K Oct 23 12:45 ntpdate<br> 4.0K -rwxrwxrwx  1 root root   593 Oct 23 12:45 ntpdate-debian<br> 4.0K -rwxrwxrwx  1 root root    49 Nov  9  2014 nudev.sh<br> 4.0K -rwxrwxrwx  1 root root   130 Nov  9  2014 optimize.sh<br>  12K -rwxrwxrwx  1 root root   11K Sep 16  2013 ownership<br>  20K -rwxrwxrwx  1 root root   20K Jan 31  2014 pam-auth-update<br> 4.0K -rwxrwxrwx  1 root root  2.9K Jan 31  2014 pam_getenv<br>  12K -rwxrwxrwx  1 root root   11K Jan 31  2014 pam_timestamp_check<br> 4.0K -rwxrwxrwx  1 root root  1.5K Nov  9  2014 pm-utils-bugreport-info.sh<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 policyvers<br> 4.0K -rwxrwxrwx  1 root root   543 May 13  2013 popcon-largest-unused<br> 8.0K -rwxrwxrwx  1 root root  4.2K May 13  2013 popularity-contest<br>  60K -rwxrwxrwx  1 root root   60K Mar  7  2013 pppconfig<br> 340K -rwxrwxrwx  1 root root  340K Apr 21  2015 pppd<br>  20K -rwxrwxrwx  1 root root   19K Apr 21  2015 pppdump<br>  20K -rwxrwxrwx  1 root root   19K Apr 21  2015 pppoe-discovery<br>  20K -rwxrwxrwx  1 root root   18K Jul  3  2011 pppoeconf<br>  16K -rwxrwxrwx  1 root root   15K Apr 21  2015 pppstats<br>  48K -rwxrwxrwx  1 root root   47K Jul 15 15:29 pwck<br>  44K -rwxrwxrwx  1 root root   43K Jul 15 15:29 pwconv<br>  36K -rwxrwxrwx  1 root root   34K Jul 15 15:29 pwunconv<br> 8.0K -rwxr-xr-x  1 root root  4.8K Feb  4  2014 qemu-make-debian-root<br>  16K -rwxrwxrwx  1 root root   15K Sep  2 14:35 readprofile<br> 4.0K -rwxrwxrwx  1 root root   710 Nov  9  2014 readtemp.sh<br> 4.0K -rwxrwxrwx  1 root root    64 Nov  9  2014 receive.sh<br> 4.0K -rwxrwxrwx  1 root root  1.6K Nov  9  2014 reject.sh<br> 4.0K -rwxrwxrwx  1 root root   749 Aug 28  2013 remove-shell<br> 4.0K -rwxrwxrwx  1 root root   646 Nov  9  2014 requisites.sh<br> 4.0K -rwxrwxrwx  1 root root   474 Nov  9  2014 restartst.sh<br>    0 lrwxrwxrwx  1 root root    21 Nov  7  2014 rmt -> /etc/alternatives/rmt<br>  52K -rwxrwxrwx  1 root root   51K Feb  4  2014 rmt-tar<br> 4.0K -rwxrwxrwx  1 root root   126 Nov  9  2014 rnet.sh<br> 512K -rwxrwxrwx  1 root root  510K May  6  2015 rsyslogd<br>  24K -rwxrwxrwx  1 root root   23K Sep  2 14:35 rtcwake<br>  12K -rwxrwxrwx  1 root root   11K Jan 12  2014 safe_finger<br>  16K -rwxrwxrwx  1 root root   15K Apr 29  2014 sefcontext_compile<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 selinux_check_securetty_context<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 selinuxenabled<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 selinuxexeccon<br> 8.0K -rwxrwxrwx  1 root root  4.8K Mar 12  2014 service<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 setenforce<br> 8.0K -rwxrwxrwx  1 root root  6.2K Apr 29  2014 setfilecon<br>  12K -rwxrwxrwx  1 root root   11K Feb 18  2013 setvesablank<br> 4.0K -rwxrwxrwx  1 root root   104 Nov  9  2014 shipout.sh<br> 4.0K -rwxrwxrwx  1 root root   292 Nov  9  2014 ssh_init.sh<br> 236K -rwxr-xr-x  1 root root  235K Dec  3 05:25 sshd<br> 4.0K -rwxrwxrwx  1 root root   265 Nov  9  2014 startall.sh<br> 4.0K -rwxrwxrwx  1 root root    95 Nov  9  2014 stats.sh<br> 4.0K -rwxrwxrwx  1 root root   402 Nov  9  2014 stopall.sh<br> 4.0K -rwxrwxrwx  1 root root   100 Nov  9  2014 syncme.sh<br> 4.0K -rwxrwxrwx  1 root root   936 Feb  4  2014 tarcat<br>  12K -rwxrwxrwx  1 root root   11K Jan 12  2014 tcpd<br>  24K -rwxrwxrwx  1 root root   23K Jan 12  2014 tcpdchk<br>  20K -rwxrwxrwx  1 root root   19K Jan 12  2014 tcpdmatch<br>1000K -rwxrwxrwx  1 root root 1000K Apr 24  2015 tcpdump<br> 4.0K -rwxrwxrwx  1 root root   354 Feb  8  2015 test_device.sh<br> 572K -rwxrwxrwx  1 root root  571K Sep 11 10:57 thermald<br>  12K -rwxrwxrwx  1 root root   11K Apr 29  2014 togglesebool<br>  12K -rwxrwxrwx  1 root root   11K Jan 12  2014 try-from<br>  12K -rwxrwxrwx  1 root root   11K Sep  2 14:35 tunelp<br>  52K -rwxrwxrwx  1 root root   51K Nov  9  2014 tuning-primer.sh<br> 4.0K -rwxrwxrwx  1 root root   106 Oct 19  2009 tzconfig<br> 4.0K -rwxrwxrwx  1 root root   163 Dec  8 01:21 ubupdate.sh<br> 4.0K -rwxrwxrwx  1 root root  3.9K Feb 28  2014 ufw<br> 4.0K -rwxrwxrwx  1 root root   441 Nov  9  2014 upd.sh<br> 4.0K -rwxrwxrwx  1 root root  3.5K Feb 23  2014 update-apt-xapian-index<br> 8.0K -rwxrwxrwx  1 root root  4.2K Feb 20  2015 update-ca-certificates<br>  12K -rwxrwxrwx  1 root root  9.2K Dec  5  2012 update-catalog<br> 4.0K -rwxrwxrwx  1 root root    64 May 13  2015 update-grub<br> 4.0K -rwxrwxrwx  1 root root   241 Aug 16  2011 update-grub-gfxpayload<br>    0 lrwxrwxrwx  1 root root    11 Sep 30 11:03 update-grub2 -> update-grub<br> 4.0K -rwxrwxrwx  1 root root  1.7K Dec 11  2013 update-info-dir<br>  12K -rwxrwxrwx  1 root root  9.0K May 31  2012 update-initramfs<br> 4.0K -rwxrwxrwx  1 root root  3.0K Sep 14  2010 update-locale<br>  12K -rwxrwxrwx  1 root root  8.4K Jan  6  2015 update-mime<br>  32K -rwxrwxrwx  1 root root   31K Apr  9  2014 update-passwd<br> 4.0K -rwxrwxrwx  1 root root  2.9K Mar 24  2014 update-pciids<br>  20K -rwxrwxrwx  1 root root   20K Jun  5  2011 update-python-modules<br>  20K -rwxrwxrwx  1 root root   17K Jun 14 23:31 update-rc.d<br> 4.0K -rwxrwxrwx  1 root root  1.1K Apr  8  2014 update-usbids<br>  20K -rwxrwxrwx  1 root root   17K Nov  7  2012 update-xmlcatalog<br> 4.0K -rwxrwxrwx  1 root root   193 Nov  9  2014 update.sh<br> 4.0K -rwxrwxrwx  1 root root   191 Nov  9  2014 update_dialer.sh<br> 4.0K -rwxrwxrwx  1 root root  1.5K May 13  2015 upgrade-from-grub-legacy<br> 108K -rwxrwxrwx  1 root root  108K Jul 15 15:29 useradd<br>  76K -rwxrwxrwx  1 root root   75K Jul 15 15:29 userdel<br> 108K -rwxrwxrwx  1 root root  108K Jul 15 15:29 usermod<br>  20K -rwxrwxrwx  1 root root   19K Sep  2 14:35 uuidd<br> 4.0K -rwxrwxrwx  1 root root  1.8K Dec 28  2005 validlocale<br> 8.0K -rwxrwxrwx  1 root root  6.2K Feb 18  2013 vcstime<br>    0 lrwxrwxrwx  1 root root     4 Jul 15 15:29 vigr -> vipw<br>  56K -rwxrwxrwx  1 root root   53K Jul 15 15:29 vipw<br> 8.0K -rwxrwxrwx  1 root root  7.1K Oct 22  2013 virt-what<br> 212K -rwxrwxrwx  1 root root  209K Aug 27 15:26 visudo<br>    0 lrwxrwxrwx  1 root root    37 Nov 27 00:10 vmtoolsd -> /usr/lib/vmware-tools/sbin64/vmtoolsd<br>    0 lrwxrwxrwx  1 root root    43 Nov 27 00:10 vmware-checkvm -> /usr/lib/vmware-tools/sbin64/vmware-checkvm<br>    0 lrwxrwxrwx  1 root root    43 Nov 27 00:10 vmware-rpctool -> /usr/lib/vmware-tools/sbin64/vmware-rpctool<br> 4.0K -rwxrwxrwx  1 root root   634 Nov  9  2014 vmware-sysinfo-lin64.sh<br>    0 lrwxrwxrwx  1 root root    37 Nov 27 00:10 vmware-vmblock-fuse -> /usr/lib/vmware-tools/bin64/appLoader<br>  16K -rwxrwxrwx  1 root root   15K Sep 16  2013 vpddecode<br> 236K -rwxrwxrwx  1 root root  235K Dec  3 05:25 zdump<br> 4.0K -rwxrwxrwx  1 root root   270 Nov  9  2014 zerolog.sh<br>  52K -rwxrwxrwx  1 root root   51K Feb 25  2015 zic<br><br><br><br></div><div class="gmail_default" style="font-size:small"><br><br></div><div class="gmail_default" style="font-size:small"><br></div></div>