Discussion:
Why I cannot remove this (emtpy) directory ?
(too old to reply)
Pierre Couderc
2018-09-23 07:29:08 UTC
Permalink
***@server:~/ls# ls -lha
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root  0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
***@server:~/ls# rmdir
/var/lib/lxd/storage-pools/default/containers/ajeter/
rmdir: failed to remove
'/var/lib/lxd/storage-pools/default/containers/ajeter/': Operation not
permitted
***@server:~/ls#

....???

PC
Pavol Cupka
2018-09-23 07:30:20 UTC
Permalink
are you maybe using btrfs?
Post by Pierre Couderc
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root 0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
/var/lib/lxd/storage-pools/default/containers/ajeter/
rmdir: failed to remove
'/var/lib/lxd/storage-pools/default/containers/ajeter/': Operation not
permitted
....???
PC
_______________________________________________
lxc-users mailing list
http://lists.linuxcontainers.org/listinfo/lxc-users
Andrey Repin
2018-09-23 09:43:34 UTC
Permalink
Greetings, Pierre Couderc!
Post by Pierre Couderc
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root  0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
/var/lib/lxd/storage-pools/default/containers/ajeter/
rmdir: failed to remove
'/var/lib/lxd/storage-pools/default/containers/ajeter/': Operation not
permitted
Usually this happens when you are trying to remove mount point.
Post by Pierre Couderc
....???
--
With best regards,
Andrey Repin
Sunday, September 23, 2018 12:42:58

Sorry for my terrible english...
Pierre Couderc
2018-09-23 17:20:02 UTC
Permalink
Post by Andrey Repin
Greetings, Pierre Couderc!
Thnk you.
Post by Andrey Repin
Post by Pierre Couderc
/var/lib/lxd/storage-pools/default/containers/ajeter/
total 0
drwx--x--x 1 root root  0 Sep 22 15:17 .
drwxr-xr-x 1 root root 12 Sep 23 07:09 ..
/var/lib/lxd/storage-pools/default/containers/ajeter/
rmdir: failed to remove
'/var/lib/lxd/storage-pools/default/containers/ajeter/': Operation not
permitted
Usually this happens when you are trying to remove mount point.
And thak you again : It is a brtfs subvolume.
Post by Andrey Repin
Post by Pierre Couderc
....???
Continue reading on narkive:
Loading...