Linux - samba realizes file sharing between Linux and windows - shared folder target file access permission is denied solution (super detailed, if you don't understand, you blame me)

foreword

        I recently worked on a project and needed to use the content on linux, so I needed to share files between linux and windows, and checked some information on the Internet. After I finished, I would summarize the problems I encountered and how I solved them for your reference. .

In fact, it only takes one step to operate. Now let's take a look:

1. Open the virtual machine and select Settings

 

2. Select the option button

 

3. Select the shared folder option, select always start

 



Fourth, open the virtual machine

Use the command to view file share permissions

ls -la

 Here it is found that other people on the same network segment can only execute, not write, and then use the command to modify the permissions:

chmod 777 share

Finally, use the command to view file sharing permissions

 Here we find that the permissions have been modified successfully

Now we can successfully use the shared folder! ! !

Guess you like

Origin blog.csdn.net/m0_65635427/article/details/130754472