Permission for transferring files from Windows to Linux using Samba
After Samba is created, it is found that the group and user of the files uploaded from Windows to Linux are nobody. You can add the following permissions by modifying/etc/samba/smb. conf:
[Share]
Comment = this is Linuxshare directory
Path =/home/lmj/Myworkplace
Available = yes
Browseable = yes
Public = yes
Writable = yes
Create mask = 0644 ==================> what does this mean when I have learned about linux? It is not necessary to introduce it more,
The permissions required for the uploaded files are modified according to your own needs. I usually Modify text files,
So it is consistent with the text file created by linux itself.
Directory mask = 0777
Force user = lmj
Force group = lmj: the user and group
Restart the samba service after modification,
On Windows, you need to disconnect and reconnect:
Details
------------------------------------ Split line ------------------------------------
How to share files with Samba in Ubuntu 14.04
The speed of accessing samba from Ubuntu dual Nic of VMWare Virtual Machine doubles
Add the Samba File Sharing Server to the Windows Server 2003 Domain
Samba installation Configuration
Samba service configuration in CentOS 6.2
Samba Server installation and configuration
How to Build the Win7 + VMware + Fedora18 Samba Server
------------------------------------ Split line ------------------------------------
Samba details: click here
Samba: click here
This article permanently updates the link address: