opened by another process write access was denied sourceinsight

2023-03-14,,

Ubuntu 16.04 安装Samba 和 windows 安装Source Insight

weixin_43764544 2021-01-07 15:23:03 23 收藏

文章标签: linux ubuntu 编辑器 windows

版权

Linux 安装 sm 和windows下安装Source Insight

环境:

VMware Workstation 15.5
Ubuntu 16.04 LTS
Source Insight 4.0

1.1 安装samba

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
sudo apt-get install smaba

1
2
3
4

1.2 安装成功后可以查看一下版本

1.3 Samba 详细配置

创建共享目录

$sudo mkdir -p /hmoe/share
$sudo chmod 777 /hmoe/share

1
2

备份和修改配置文件

$sudo cp /etc/samba/samba.conf /etc/samba/samba.conf.s

1

【注】嫌麻烦一直sudo的话,可以切换用户 sudo su ,在Ctenos 中直接su即可。
修改samba.conf

$sudo vi /etc/samba/samba.conf

1

[share]
comment = samba home directory
path = /home/share
public = yes
browseable = yes
public = yes
read only = no
writable = yes
create mask = 0777
directory mask = 0777
available = yes
security = share

1
2
3
4
5
6
7
8
9
10
11
12

可以在Windows10 下输入IP进行无密码的访问。顺带一提要是在Linux下新建文件夹,或者文件在Source Insight 无法保存的情况下,需要更新一下文件夹的权限。

可以通过以下代码来更新权限

sudo chmod -R a=rwx /home/share/newfolder

1

错误代码`

Error:"\\192.168.0.110\share\code\test.c"is busy or opened by another process.
Write access was denied

1
2

【IP】此IP要设置成静态IP,而且虚拟机的网络要设置成桥接模式。
【注】如果您之前没有配置过vi编辑器的话,也可以使用 sudo gedit /etc/samba.conf,可以自己配置一下毕竟vi编辑器号称最强编辑器。

2.1 Source Insight 4.0

https://pan.baidu.com/s/1rnMbTaP2ZDNAX13FYkWpTw
提取码:w2ze

1
2

在此提供链接链接:仅供学习使用

1

安装步骤在README中。

原文出处:https://blog.csdn.net/weixin_43764544/article/details/112303524

opened by another process write access was denied sourceinsight的相关教程结束。

《opened by another process write access was denied sourceinsight.doc》

下载本文的Word格式文档,以方便收藏与打印。