You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only single k8s master running on my laptop, no other node;
Install calico as cni;
Running sudo edgeadm addon edge-apps --master-public-addr doujohnerk8smaster.com on master;
Result:
To run ls -lad /tmp , its permissions seem be changed: drwxrw_rwt 3 root root 4096 Feb 14 11:42 /tmp,
which leads to bash: cannot create temp file for here-document: Permission denied if I tried to autocomplete my command.
And I have to manually add umask chmod 1777 /tmp to make it work;
The text was updated successfully, but these errors were encountered:
This may be a limitation of your node itself @mhh12121
I have the same issue, and I have tested the permission of /tmp changed after installing superedge with the all in one package
mhh12121
changed the title
[Question] Weird stuff after running edgeadm addon edge-apps
[Question] /tmp Permission changed after running edgeadm addon edge-apps
May 16, 2022
@mhh12121 It's edgeam's default processing logic: edgeadm uses /tmp as the installation directory, but edgeadm remove the installation directory first and recreate it, that cause the /tmp's permission changing.
You can assign the --worker-path when executing edgeadm init, such as edgeadm init --worker-path /tmp/edgeadm-install, then the /tmp will not affect.
ENV:
lsb_release -a
:kubectl version
:Process:
sudo edgeadm addon edge-apps --master-public-addr doujohnerk8smaster.com
on master;Result:
To run
ls -lad /tmp
, its permissions seem be changed:drwxrw_rwt 3 root root 4096 Feb 14 11:42 /tmp
,which leads to
bash: cannot create temp file for here-document: Permission denied
if I tried to autocomplete my command.And I have to manually add umask
chmod 1777 /tmp
to make it work;The text was updated successfully, but these errors were encountered: