linux_wiki:smb_provide_network_shares_suitable_for_group_collaboration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:smb_provide_network_shares_suitable_for_group_collaboration [2018/04/17 23:10]
billdozor [Group Shares: Client]
linux_wiki:smb_provide_network_shares_suitable_for_group_collaboration [2019/05/25 23:50] (current)
Line 63: Line 63:
  comment = My Groups Samba Share  comment = My Groups Samba Share
  path = /sambashare_group  path = /sambashare_group
- browsable = yes 
- public = no 
  valid users = @smbgrp  valid users = @smbgrp
  write list = @smbgrp  write list = @smbgrp
  writable = yes  writable = yes
  force group = +smbgrp  force group = +smbgrp
- create mask = 0770+ create mask = 0664 
 + directory mask = 0775 
 + 
 + # Defaults, but listing in case something in [global] over rides 
 + browsable = yes 
 + public = no
 </code> </code>
   * +smbgrp  -> The "+" means that only users already in the group (smbgrp) will use that as their primary group when accessing the share.   * +smbgrp  -> The "+" means that only users already in the group (smbgrp) will use that as their primary group when accessing the share.
Line 83: Line 86:
 ====== Group Shares: Client ====== ====== Group Shares: Client ======
  
-  * Ensure the same users and group exist on the client +Ensure the same users and group exist on the client 
-    * uids and gids must match!+  * **uids and gids must match!**
  
 \\ \\
Line 99: Line 102:
  
 \\ \\
-Mount temporarily+Mount Persistently
 <code bash> <code bash>
-mount //192.168.1.200/smbgroupshare /collaborate -t cifs -o username=user1 +vim /root/.sharedcreds 
-</code>+  
 +username=user1 
 +password=password 
  
-\\ 
-Mount Persistently 
-<code bash> 
 vim /etc/fstab vim /etc/fstab
    
  • linux_wiki/smb_provide_network_shares_suitable_for_group_collaboration.1524021042.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)