Is extended file permission supported in Kubernetes (chattr, lsattr) ?

93 views
Skip to first unread message

Thomas Privat

unread,
Dec 6, 2016, 3:28:42 PM12/6/16
to Kubernetes user discussion and Q&A
Hello,

Im wondering if the extended file attributes are supported in Kubernetes as I get the following errors when Im doing a lsattr or chattr on a file/directory in a container

# lsattr /
lsattr: Inappropriate ioctl for device While reading flags on /run
lsattr: Inappropriate ioctl for device While reading flags on /var
lsattr: Inappropriate ioctl for device While reading flags on /home
lsattr: Inappropriate ioctl for device While reading flags on /root
lsattr: Inappropriate ioctl for device While reading flags on /etc
lsattr: Inappropriate ioctl for device While reading flags on /tmp
lsattr: Inappropriate ioctl for device While reading flags on /dev
lsattr: Inappropriate ioctl for device While reading flags on /usr
lsattr: Inappropriate ioctl for device While reading flags on /lib
lsattr: Inappropriate ioctl for device While reading flags on /bin
lsattr: Inappropriate ioctl for device While reading flags on /sys
lsattr: Inappropriate ioctl for device While reading flags on /media
lsattr: Inappropriate ioctl for device While reading flags on /sbin
lsattr: Inappropriate ioctl for device While reading flags on /lib64
lsattr: Inappropriate ioctl for device While reading flags on /proc
lsattr: Inappropriate ioctl for device While reading flags on /opt
lsattr: Inappropriate ioctl for device While reading flags on /boot
lsattr: Inappropriate ioctl for device While reading flags on /mnt
lsattr: Inappropriate ioctl for device While reading flags on /srv



Im running Kubernetes "v1.4.4" on Ubuntu 16.04.1 LTS

Cheers, Thomas


Rodrigo Campos

unread,
Dec 6, 2016, 5:53:06 PM12/6/16
to kubernet...@googlegroups.com
Are the mounts with the xattr flag or on a fs that enables them by default? Does lsattr work on the host?

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages