Hi folks, I get a weird effect on running lxc-ls without root:
{hdunkel@dpcl082:~ 507} lxc-ls {hdunkel@dpcl082:~ 508} echo $? 0 {hdunkel@dpcl082:~ 509} lxc-ls -P /var/lib/lxc .jessie debbuild template.blog .mini lxc0 .squeeze oraclient .wheezy p1 centos65 p2 {hdunkel@dpcl082:~ 510} echo $? 0 {hdunkel@dpcl082:~ 511} ls -l /var/lib/lxc lrwxrwxrwx 1 root root 16 Aug 7 2014 /var/lib/lxc -> ../../export/lxc {hdunkel@dpcl082:~ 512} ls -al /var/lib/../../export/lxc total 180 drwxr-xr-x 32 root root 4096 Apr 13 13:03 . drwxrwxrwt 22 root root 4096 Feb 2 09:52 .. drwxr-xr-x 3 root root 4096 Aug 19 2014 .jessie drwxr-xr-x 3 root root 4096 Nov 20 2013 .mini drwxr-xr-x 3 root root 4096 Nov 20 2013 .squeeze drwxr-xr-x 3 root root 4096 Aug 19 2014 .wheezy -rw-r--r-- 1 root root 781 Jul 2 2014 README drwxr-xr-x 4 root root 4096 Jan 21 2014 centos65 drwxr-xr-x 3 root root 4096 Oct 17 07:46 debbuild -rw-r--r-- 1 root root 19973 Jan 23 09:33 lxc-monitord.log drwxrwxr-x 3 root root 4096 Mar 18 16:23 lxc0 drwxr-xr-x 3 root root 4096 Oct 14 11:38 oraclient drwxr-xr-x 3 root root 4096 Aug 7 2014 p1 drwxr-xr-x 3 root root 4096 Aug 7 2014 p2 drwxrwxr-x 3 root root 4096 Apr 13 12:26 template.blog drwxr-xr-x 3 root root 4096 Oct 14 11:36 tmp Please note that the "-P /var/lib/lxc" makes lxc-ls work, even though its the default path. For root there is no such problem. Regards Harri _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel