Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
samba_share [2025/05/14 11:08] – kkaragozsamba_share [2025/05/14 15:36] (current) – [7.1. Windows] kkaragoz
Line 115: Line 115:
   * Ensure that the Linux file permissions on the shared directory (''%%/srv/myshare%%'') allow the specified ''%%valid users%%'' or group members to read and write. For example:   * Ensure that the Linux file permissions on the shared directory (''%%/srv/myshare%%'') allow the specified ''%%valid users%%'' or group members to read and write. For example:
     <code bash>     <code bash>
-    sudo chown shareuser_example:sambashare /srv/myshare // Or relevant user/group +    sudo chown shareuser_example:sambashare /srv/myshare # Or relevant user/group 
-    sudo chmod -R 770 /srv/myshare // Give read/write/execute to user and group+    sudo chmod -R 770 /srv/myshare # Give read/write/execute to user and group
     </code>     </code>
  
Line 163: Line 163:
 ==== 7.1. Windows ==== ==== 7.1. Windows ====
   - Open File Explorer.   - Open File Explorer.
-  - In the address bar, type: ''%%\\\\your_server_ip%%'' or ''%%\\\\your_server_hostname%%''+  - In the address bar, type: ''%%\\your_server_ip\SecureShare%%'' or ''%%\\your_server_hostname%%''
   - You should see your defined share(s). Double-click to open.   - You should see your defined share(s). Double-click to open.
   - If connecting to a secure share, you will be prompted for the username and password you set with ''%%smbpasswd%%''.   - If connecting to a secure share, you will be prompted for the username and password you set with ''%%smbpasswd%%''.
Line 213: Line 213:
  
 For most users needing to share folders between a Linux server and various client operating systems including Windows, **Samba is the recommended solution** due to its wide compatibility and ease of use on client machines. Opt for user authentication (Example 2) for better security. For most users needing to share folders between a Linux server and various client operating systems including Windows, **Samba is the recommended solution** due to its wide compatibility and ease of use on client machines. Opt for user authentication (Example 2) for better security.
 +
 +
 +===== 10. Paperless NGX Connection =====
 +
 +You should add the following line. You can change the path's as you created before.
 +<code yml>
 +volumes:
 +      - /srv/myshare:/usr/src/paperless/consume
 +</code>
 +
 +
 +User of SMB's UID should be equal to the USERMAP_UID and USERMAP_GID values. 
 +<code yml>
 +environment:
 +      USERMAP_UID: '1001' # **VERIFY with 'id -u' on your host and CHANGE if needed**
 +      USERMAP_GID: '1001' # **VERIFY with 'id -g' on your host and CHANGE if needed**
 +</code>
 +
Back to top