Frequently encountered samba shared directory does not have permission to read or write, so I specifically did some experiments on file permissions. Found:
1. To access a file, the user must have x permissions on their "all" upper directory.
2. When creating a file, the user only needs to have the w permission for the directory in which it is located, and it does not matter whether the other upper directory has the w permission.
If samba is shared by security = share, then the default user is nobody, so generally give this user permission.
I have to mention the problem that once caused me to be very upset. I don't know if any of my classmates have encountered it. It is clear that all directories and files are 777 permissions, but I can't write them. Why?
This time you need to check the smb configuration file.
[home]
comment = Home Directories
path = /home
browseable = yes
writable = yes
[root]
comment = Root Directory
path = /
browseable = yes
writable = no
The above configuration, if accessed through the virtual directory root, because writable=no, it can not be written regardless of the directory and file permissions. It is necessary to change to the virtual directory of home.
1 U disk or disk mount under virtual machine, network configuration under Ubuntu, switch bet
The companys network environment is a bit complicated, and the damn secure policy requires
: In the hardware management of ITDB, it is necessary to assign users to the hardware. This user wan
A system, we can not have only one user, so we need to create other users. This is especially true a
Linux firewall iptables utility settings
Linux view file time accurate to seconds
Nginx cross-city agent Internet access
How to view the run level in Linux system
Build an Android environment on Ubuntu and download APKs from Google Play
SEO's era has already bid farewell!
U-Boot first phase key code understanding
Compile USB wireless network card driver based on rtl8188cu control chip under linux
Linux network based three-layer switch and NAT address translation notes
Modify the registry to speed up the Win7 boot speed, not paying for it
Win7 system problem step recorder how to open?
It's time to consider Windows Server 2012 migration
Win8.1 set the "Apps" view first listed the desktop application method
Flash Player plugin does not work properly in Win8.1. Solution
Windows Recycle Bin uses the full Raiders advanced
WPS2016 input square symbol method introduction