
3 Nov
2020
3 Nov
'20
9:42 a.m.
On Tue, Nov 03, 2020 at 08:51:28AM +0800, Wu Fengguang wrote:
+ File.open("#{default_yaml_dir}/#{account}.yaml", 'a') do |file|
#{account} => account
I mean literal 'account.yaml'
I got it
Thanks, Fengguang
+ %x(chown -R #{account}:#{account} "/home/#{account}/.config")
That function variable $account can better be $login_name
I got it I will fix it later Thanks Luan Shengde
man ssh
-l login_name Specifies the user to log in as on the remote machine. This also may be specified on a per-host basis in the configuration file.
Thanks, Fengguang