Archiv verlassen und diese Seite im Standarddesign anzeigen : linux share schreibbar machen
hallo,
ich hab unter meinem openSuse 10.2 "/musik" freigegeben, jetzt bekomme ich es allerdings nicht hin, diesen übers netzwerk von windows xp aus zu beschreiben
ich hab schon unter yast/samba zu meinem share den "writable" parameter hinzugefügt, aber funktioniert trotzdem nicht
ich denke, für euch profis ist das nur ein klick, und dann funktionierts
danke im voraus!
Julian
1. Frage: Lesen kannst Du von dem VZ?
ok, dann poste bitte mal
/etc/samba/samba.conf
die Ausgabe von ls -la /musik
und mit welchem Benutzer Du dich am Samba angemeldet hast...
Verwende bitte die Code-Tags des Forums für die Ausgaben, damit das auch leserlich bleibt...
die datei /etc/samba/samba.conf existiert bei mir nicht, ich hab hier mal die /etc/samba/smb.conf
sry, der freigegebene ordner heißt "music"
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2007-05-14
[global]
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
usershare max shares = 100
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
guest ok = yes
workgroup = WORKGROUP
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[music]
path = /music
read only = No
und hier ist der ordnerinhalt:
julian@julian1:~> ls -la /music
insgesamt 224
drwxr-xr-x 41 root root 4096 6. Jul 2007 .
drwxr-xr-x 23 root root 4096 24. Nov 01:01 ..
drwxr-xr-x 3 root root 4096 30. Mai 2007 @
drwxr-xr-x 3 root root 4096 6. Jun 2007 0
drwxr-xr-x 8 root root 4096 6. Jun 2007 1
drwxr-xr-x 27 root root 4096 4. Jul 2007 2
drwxr-xr-x 12 root root 4096 4. Jul 2007 3
drwxr-xr-x 10 root root 4096 6. Jun 2007 4
drwxr-xr-x 6 root root 4096 6. Jun 2007 5
drwxr-xr-x 5 root root 4096 6. Jun 2007 6
drwxr-xr-x 5 root root 4096 3. Jun 2007 7
drwxr-xr-x 5 root root 4096 6. Jun 2007 8
drwxr-xr-x 4 root root 4096 30. Mai 2007 9
drwxr-xr-x 239 root root 12288 4. Jul 2007 A
drwxr-xr-x 295 root root 12288 4. Jul 2007 B
drwxr-xr-x 220 root root 12288 4. Jul 2007 C
drwxr-xr-x 309 root root 12288 4. Jul 2007 D
drwxr-xr-x 132 root root 4096 4. Jul 2007 E
drwxr-xr-x 144 root root 4096 4. Jul 2007 F
drwxr-xr-x 125 root root 4096 4. Jul 2007 G
drwxr-xr-x 104 root root 4096 4. Jul 2007 H
drwxr-xr-x 58 root root 4096 4. Jul 2007 I
drwxr-xr-x 180 root root 4096 4. Jul 2007 J
drwxr-xr-x 133 root root 4096 4. Jul 2007 K
drwxr-xr-x 148 root root 4096 4. Jul 2007 L
drwx------ 2 root root 4096 24. Nov 01:03 lost+found
drwxr-xr-x 332 root root 12288 4. Jul 2007 M
drwxr-xr-x 111 root root 4096 4. Jul 2007 N
drwxr-xr-x 55 root root 4096 4. Jul 2007 O
drwxr-xr-x 167 root root 4096 4. Jul 2007 P
drwxr-xr-x 14 root root 4096 4. Jul 2007 Q
drwxr-xr-x 165 root root 4096 4. Jul 2007 R
drwxr-xr-x 366 root root 16384 4. Jul 2007 S
drwxr-xr-x 321 root root 12288 4. Jul 2007 T
drwx------ 4 root root 4096 4. Jul 2007 .Trash-0
drwxr-xr-x 42 root root 4096 4. Jul 2007 U
drwxr-xr-x 53 root root 4096 4. Jul 2007 V
drwxr-xr-x 68 root root 4096 4. Jul 2007 W
drwxr-xr-x 6 root root 4096 30. Mai 2007 X
drwxr-xr-x 32 root root 4096 4. Jul 2007 Y
drwxr-xr-x 15 root root 4096 6. Jun 2007 Z
Ich denke du hast bei music , "writable = yes" hinzugefügt?
ok, 2++ Möglichkeiten:
Du änderst die Rechte des Ordners und aller Dateien darin ab, dass sie 777 (für jeden schreibbar sind) oder gibtst den Ordner dem (System-)User von Samba (chmod, chown)
oder Konfigurierst Samba so, dass er mit root in die Ordner reingeht
force user = root
force group = root
weitere Möglichkeiten gibt's auch noch - ist die Frage, wie elegant oder einfach nur funktional es sein soll...
Du konfigurierst Samba so, dass
also ich hab jetzt dem ordner inclusive unterordner die rechte 777 gegeben, und alles funktioniert!!!
vielen, vielen Dank!!!
Julian
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.