Visual Studio 2015/2017无法在Raspberry上创建目录,mkdir退出代码:1 [英] Visual Studio 2015/2017 Could not create directories, mkdir exit code: 1 on Raspberry

查看:292
本文介绍了Visual Studio 2015/2017无法在Raspberry上创建目录,mkdir退出代码:1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试通过Visual Studio 2015中的远程GDB调试器远程连接到Raspberry Pi 3(ARM),但永久性地获得了无法创建目录,mkdir退出代码:1



试用了 Visual Studio中描述的解决方案2017无法创建目录,mkdir退出代码:1 问题,但仍然是相同的。



我对Linux不是很流利,所以也许它只是简单的麻烦与用户添加或sudo组修改,但也许有人做了相同的事情成功解释?

em>将项目文件夹移动到普通硬盘驱动器文件夹中



mkdir错误与Linux用户权限或SSH设置无关。
考虑到这个命令在Windows和Unix中相同,但是发现问题出现在客户端而不是Linux目标机器上是令人困惑的。原因是我的项目文件夹创建OneDrive文件夹,所以它导致此访问错误(我不知道为什么),虽然我用管理员权限运行Visual Studio。



因此,解决方案只是将项目文件夹(例如ConsoleApplication1)移动到常见的硬盘驱动器文件夹(Documents ets)中。

Trying to connect remotely by Remote GDB Debugger in Visual Studio 2015 to Raspberry Pi 3 (ARM), but permanently got "Could not create directories, mkdir exit code: 1"

Tried the solution described on Visual Studio 2017 Could not create directories, mkdir exit code: 1 question, but still same.

I'm not "fluent" with Linux, so maybe It's just simple troubles with user adding or sudo groups modifying, but maybe someone made the same things successfully to explain?

解决方案

Move project folder to common hard drive folder

The mkdir error wasn't about linux user rights or SSH setup. Considering than this command same in Windows and Unix, it was confusing to realize that issue was on client side, not on the linux target machine. The reason is than my project folder created on OneDrive folder, so it caused this access error (I don't know why), although I run Visual Studio with admin rights.

So the solution was just to move project folder (e.g ConsoleApplication1) to common hard drive folder (Documents ets).

这篇关于Visual Studio 2015/2017无法在Raspberry上创建目录,mkdir退出代码:1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆