linux - 远程SSH ,tar解压 Process exited with status 2
伊谢尔伦
伊谢尔伦 2017-04-17 16:25:02
0
1
807

golang 是使用ROOT用户登录的使用ssh远程解压文件的时候报错Process exited with status 2

在文件中.已给最高权限.

远程使用ls /tmp/ 也能看到压缩包

tar的绝对路径也使用了...

求各位大腿解救...

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
左手右手慢动作

Oops, I was confused just now. tar -zxvf xxx.tag.gz -C /mysql Just add -C to specify the directory.
At first I thought it was a problem with the package usage. I tried it and it was fine. Then I saw that your shell didn’t add -C.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template