PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fedora Core2 samba +fat32



Neutrin0
14.07.04, 00:04
Hab mal wieder ein problem
Ich kann auf meine fat32 partiton über samba nicht schreiben
hier erst mal meine smb.conf


[global]
workgroup = CRACKXOFT
interfaces = 192.168.1.11/255.255.255.0
bind interfaces only = Yes
security = SHARE
keepalive = 120
os level = 2
kernel oplocks = No
guest account = neutrin0
character set = ISO8859-1

[homes]
comment = Home Directories
valid users = %S
writeable = yes
create mask = 0640
directory mask = 0750
browseable = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[DvD]
path = /mnt/cdrom/
username = neutrin0
guest ok = Yes

[windows]
path = /mnt/
username = neutrin0
writeable = yes
guest ok = Yes

[Plex412]
path = /mnt/cdrom1
writeable = yes
guest ok = Yes

[smbshare]
path = /home/smbshare
writeable = yes
guest ok = yes


über ext3 habe ich gar keine probleme wenn ich mich richtig erinnere hängt das mit umask zusammen und ist redhat/fedora spezifisch hier mal meine fstab zeile

/dev/hda2 /mnt/fat32_d vfat rw,user,exec,umask=000


was läuft hier noch schief weis jemmand woran es liegt ? *hoff*

Neutrin0
14.07.04, 18:58
hmmmm.....

ich habe festgestellt daß ich als benutzer local auch nicht auf diese platte schreiben kann das heißt wohl das problem liegt ausschließlich an
umask aber welcher eintrag ist dort derr richtige habe auch schon
0002 und 0222 probiert ohne erfolg genauso wie 777 :ugly:

weiß jemmand was die richtige codierung für fedora ist?

linuxazubi
14.07.04, 20:19
hmmmm.....

ich habe festgestellt daß ich als benutzer local auch nicht auf diese platte schreiben kann das heißt wohl das problem liegt ausschließlich an
umask aber welcher eintrag ist dort derr richtige habe auch schon
0002 und 0222 probiert ohne erfolg genauso wie 777 :ugly:

weiß jemmand was die richtige codierung für fedora ist?

so ein ähnliches problem hatte ich auch beim zugriff auf frauchens xp-notebook.

meine lösung ist hier:


http://fedorafaq.org/#smbmount

vieleicht hilft's dir!

schöne grüße

matthias

Neutrin0
14.07.04, 20:33
danke für den link ich kann jedoch nicht mal local eingelogt
auf meine fat32 zugreifen nur root

linuxazubi
14.07.04, 20:40
danke für den link ich kann jedoch nicht mal local eingelogt
auf meine fat32 zugreifen nur root


schade, ... dann kann ich dir auch nicht weiter helfen. :(

viel erfolg! ;)

senseipetz
15.07.04, 22:11
Maybe the korrekt adding is the s after user, because users are the defaultgroup, where alle created users under linux will be putted at default.

/dev/hda2 /mnt/fat32_d vfat rw,users,exec,umask=000

Open the file /etc/fstab in any text editor.

On a new line at the bottom of the file, add the line

/dev/Y /mnt/X vfat users,owner,ro,umask=000 0 0

where Y is the partition number of the Fat32 partition and X is the name of the directory you created or should created.

Note that this will allow ALL users READ ONLY access to the disk. To allow Read and Write access to ALL users, change the ro to rw. If you want only root to have Read and Write access (while other users have READ ONLY access), change the ro to rw and umask=000 to umask=022.

Neutrin0
15.07.04, 22:53
thx senseipetz but this topic is already discussed by this link

http://www.linuxforen.de/forums/showthread.php?t=144554&highlight=neutrin0