Home > OS >  Of SMB. The admin users in the conf=a user, not have administrative privileges
Of SMB. The admin users in the conf=a user, not have administrative privileges

Time:10-02

Today want to share a Linux user (pl) is set to a Shared file admin users, the user originally only read-only access,
[public dish]
Path=/data
Public=yes
Browseable=yes
Read only=yes
Printable=no
Guest ok=yes
The create mask=0640
The admin users=pl
Restart SMB service after the user enters the Shared files still can only read only, can not add preservation, consult the reason, thank you

CodePudding user response:

You read only=yes is read-only, change this into the no

CodePudding user response:

Share files on the ownership of the access right, you did this Shared user permission to write you the Shared file

CodePudding user response:

reference 1st floor zhouchao6 response:
your read only=yes is read-only, the change to the no

If changed to read only=no, it will affect other users permissions?

CodePudding user response:

reference 3 floor mywood water cold response:
Quote: refer to 1st floor zhouchao6 response:

You read only=yes is read-only, the change to the no

If changed to read only=no, it will affect other users permissions?


Coordinate/data directory ugo permissions, you can put the o/data directory permissions set to r - x

CodePudding user response:

Write a list=users, can be read only=yes, a privileged user can write the user then Settings good

CodePudding user response:

Specifies the write write list=user, to give the user privilege for instance setfacl this for Shared directory
  • Related