1.執行 vi /etc/samba/smb.conf
2.將下面這句話加在最後:
[test]
comment = test's test folderr
path = /usr1/code
public = yes
writeable = yes
printable = no
create mask = 0765
3.執行service smb restart
最後一定要對路徑附一下777權限就好了
chmod -R 777 ./
1.執行 vi /etc/samba/smb.conf
2.將下面這句話加在最後:
[test]
comment = test's test folderr
path = /usr1/code
public = yes
writeable = yes
printable = no
create mask = 0765
3.執行service smb restart
最後一定要對路徑附一下777權限就好了
chmod -R 777 ./
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context