Samba Dateien und Ordner verschieben

S

Smbuser

Grünschnabel
Moin,

Ich verwende für mein Server OpenMediaVault (=Debian-System).

Mein OMV hat kein Raid.

Ich habe einen User "SMBadmin" angelegt.

Bei diesem habe ich unter Freigegebene Ordner bei jeder Freigabe (=einzelne Festplatten):
- Lesen/schreiben zugeordnet

Unter ACL:
- auch hier überall dem SMBadmin "Lesen/Schreiben" hinzugeordnet inkl. bei "Rekursiv" -> auf Unterordner anwenden.

Ich kann also nun innerhalb einer Freigabe/Festplatte Ordner und Dateien verschieben.

Leider kann ich nicht z.B. von Disk1 Dateien/Ordner per Samba zu Disk2 verschieben.

Es kommt jeweils "Erlaubnis verweigert".

Weiss jemand, der sich bisschen besser mit Debian auskennt welche bereichtigung dem noch fehlt, damit auch das klappt 


/etc/samba/smb.conf:
  1. #======================= Global Settings =======================
  2. [global]
  3. workgroup = WORKGROUP
  4. server string = %h server
  5. dns proxy = no
  6. log level = 0
  7. syslog = 0
  8. log file = /var/log/samba/log.%m
  9. max log size = 1000
  10. syslog only = yes
  11. panic action = /usr/share/samba/panic-action %d
  12. encrypt passwords = true
  13. passdb backend = tdbsam
  14. obey pam restrictions = no
  15. unix password sync = no
  16. passwd program = /usr/bin/passwd %u
  17. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  18. pam password change = yes
  19. socket options = TCP_NODELAY IPTOS_LOWDELAY
  20. guest account = nobody
  21. load printers = no
  22. disable spoolss = yes
  23. printing = bsd
  24. printcap name = /dev/null
  25. unix extensions = yes
  26. wide links = no
  27. create mask = 0777
  28. directory mask = 0777
  29. use sendfile = yes
  30. aio read size = 16384
  31. aio write size = 16384
  32. null passwords = no
  33. local master = yes
  34. time server = no
  35. wins support = no
  36. #======================= Share Definitions =======================
  37. [Disk2-Share]
  38. comment = Disk2-Share
  39. path = /srv/dev-disk-by-label-Disk2
  40. guest ok = no
  41. read only = no
  42. browseable = yes
  43. inherit acls = yes
  44. inherit permissions = no
  45. ea support = no
  46. store dos attributes = no
  47. vfs objects =
  48. printable = no
  49. create mask = 0664
  50. force create mode = 0664
  51. directory mask = 0775
  52. force directory mode = 0775
  53. hide special files = yes
  54. follow symlinks = yes
  55. hide dot files = yes
  56. valid users = "SMBuser","SMBadmin",@"SMBadmingroup"
  57. invalid users =
  58. read list = "SMBuser"
  59. write list = "SMBadmin",@"SMBadmingroup"
  60. [Disk3-Share]
  61. comment = Disk3-Share
  62. path = /srv/dev-disk-by-label-Disk3
  63. guest ok = no
  64. read only = no
  65. browseable = yes
  66. inherit acls = yes
  67. inherit permissions = no
  68. ea support = no
  69. store dos attributes = no
  70. vfs objects =
  71. printable = no
  72. create mask = 0664
  73. force create mode = 0664
  74. directory mask = 0775
  75. force directory mode = 0775
  76. hide special files = yes
  77. follow symlinks = yes
  78. hide dot files = yes
  79. valid users = "SMBuser","SMBadmin",@"SMBadmingroup"
  80. invalid users =
  81. read list = "SMBuser"
  82. write list = "SMBadmin",@"SMBadmingroup"
  83. [Disk1-Share]
  84. comment = Disk1-Share
  85. path = /srv/dev-disk-by-label-Disk1
  86. guest ok = no
  87. read only = no
  88. browseable = yes
  89. inherit acls = yes
  90. inherit permissions = no
  91. ea support = no
  92. store dos attributes = no
  93. vfs objects =
  94. printable = no
  95. create mask = 0664
  96. force create mode = 0664
  97. directory mask = 0775
  98. force directory mode = 0775
  99. hide special files = yes
  100. follow symlinks = yes
  101. hide dot files = yes
  102. valid users = "SMBuser","SMBadmin",@"SMBadmingroup"
  103. invalid users =
  104. read list = "SMBuser"
  105. write list = "SMBadmin",@"SMBadmingroup"
  106. [Disk4-Share]
  107. comment = Disk4-Share
  108. path = /srv/dev-disk-by-label-Disk4
  109. guest ok = no
  110. read only = no
  111. browseable = yes
  112. inherit acls = yes
  113. inherit permissions = no
  114. ea support = no
  115. store dos attributes = no
  116. vfs objects =
  117. printable = no
  118. create mask = 0664
  119. force create mode = 0664
  120. directory mask = 0775
  121. force directory mode = 0775
  122. hide special files = yes
  123. follow symlinks = yes
  124. hide dot files = yes
  125. valid users = "SMBuser","SMBadmin",@"SMBadmingroup"
  126. invalid users =
  127. read list = "SMBuser"
  128. write list = "SMBadmin",@"SMBadmingroup"
  129. [DL1-Share]
  130. comment = DL1-Share
  131. path = /srv/dev-disk-by-label-DL1/jdownloader/Downloads
  132. guest ok = no
  133. read only = no
  134. browseable = yes
  135. inherit acls = yes
  136. inherit permissions = no
  137. ea support = no
  138. store dos attributes = no
  139. vfs objects =
  140. printable = no
  141. create mask = 0664
  142. force create mode = 0664
  143. directory mask = 0775
  144. force directory mode = 0775
  145. hide special files = yes
  146. follow symlinks = yes
  147. hide dot files = yes
  148. valid users = "SMBuser","SMBadmin",@"SMBadmingroup"
  149. invalid users =
  150. read list = "SMBuser"
  151. write list = "SMBadmin",@"SMBadmingroup"
  152. [DL1-Freigabe]
  153. comment = DL1-Freigabe | Konfigurations-Ordner
  154. path = /srv/dev-disk-by-label-DL1/jdownloader
  155. guest ok = no
  156. read only = no
  157. browseable = yes
  158. inherit acls = yes
  159. inherit permissions = no
  160. ea support = no
  161. store dos attributes = no
  162. vfs objects =
  163. printable = no
  164. create mask = 0664
  165. force create mode = 0664
  166. directory mask = 0775
  167. force directory mode = 0775
  168. hide special files = yes
  169. follow symlinks = yes
  170. hide dot files = yes
  171. valid users = "JDuser"
  172. invalid users =
  173. read list =
  174. write list = "JDuser"
(Sry:externe Links sind hier nicht erlaubt)

Gruss
 

Ähnliche Themen

Mit Windows auf Ubuntu Ordner erstellen

Dovecot: Geteilte Postfächer (Shared Mailboxes) funktionieren nicht

Samba 4.9.5-Debian - Kennwort von unix übernehmen

SMB Zugriff auf Homeshare

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Zurück
Oben