Hello, I set up a new computer with CentOS 5.0 and Samba V3.0.25a. I copied my "old stuff" from the existig PC to the new one, created my samba shares and tried to connect from a Windows XP Home Edition PC. Results: 1) I can open all old data 2) I can create new files 3) I cannot modify and open the new files This seems a bit odd. Here is the config data: [global] workgroup = KALDAUEN server string = SONNE security = SHARE guest account = stasch log level = 10 log file = /var/log/samba/log.%m max log size = 50 os level = 33 preferred master = Yes domain master = Yes dns proxy = No hosts allow = 192.168.1.0/24, 127.0.0.1 [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /usr/spool/samba printable = Yes browseable = No [dokumente] path = /share/dokumente read only = No guest only = Yes guest ok = Yes [dok] path = /share/doks read only = No guest only = Yes guest ok = Yes And here is part of the directory I tried to access: drwxrwxrwx 3 stasch stasch 4096 25. Jun 14:12 . drwxrwxrwx 46 stasch stasch 20480 23. Jun 19:55 .. -rwxr--r-- 1 stasch stasch 0 25. Jun 08:04 b la.txt -rwxr--r-- 1 stasch stasch 0 25. Jun 08:04 bla.txt -rwxr--r-- 1 stasch stasch 0 23. Jun 20:41 Neu Bitmap.bmp -rwxr--r-- 1 stasch stasch 10752 25. Jun 07:46 Neu Microsoft Word-Dokument (2).doc The linux machine is running a 2.6.18-8.1.6.el5 kernel. There are not network (1 Gbit) restrictions like firewalls or something. The windows node is running a up to date patched win xp home edition. Could someone help me? Thanks a lot.... I am at my wits end :-( Thomas ------------------------------------------------------------------------ Thomas Stasch thomas@stasch.de http://www.stasch.de ------------------------------------------------------------------------
Felipe Augusto van de Wiel
2007-Jun-28 19:08 UTC
[Samba] Can create files, but not modify...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/25/2007 11:32 AM, Thomas Stasch wrote:> Results: > 1) I can open all old data > 2) I can create new files > 3) I cannot modify and open the new files[...]> [dokumente] > path = /share/dokumente > read only = No > guest only = Yes > guest ok = Yes > > [dok] > path = /share/doks > read only = No > guest only = Yes > guest ok = Yes > > > And here is part of the directory I tried to access: > > drwxrwxrwx 3 stasch stasch 4096 25. Jun 14:12 . > drwxrwxrwx 46 stasch stasch 20480 23. Jun 19:55 .. > -rwxr--r-- 1 stasch stasch 0 25. Jun 08:04 b la.txt > -rwxr--r-- 1 stasch stasch 0 25. Jun 08:04 bla.txt > -rwxr--r-- 1 stasch stasch 0 23. Jun 20:41 Neu Bitmap.bmp > -rwxr--r-- 1 stasch stasch 10752 25. Jun 07:46 Neu Microsoft > Word-Dokument (2).doc[...]> Could someone help me? > Thanks a lot.... I am at my wits end :-(Try to use 'force create mode' or 'force directory mode', or mask parameters, see smb.conf for more details about the options and what they do. Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGhAXECj65ZxU4gPQRAouTAKCwsofO/9/MdkVyl9F1Emojhr1r7wCfdton fNzevRz2THOnDkU0Ku5zaFI=nIZT -----END PGP SIGNATURE-----
> Hello, > > I set up a new computer with CentOS 5.0 and Samba V3.0.25a. > I copied my "old stuff" from the existig PC to the new one, created my > samba shares and tried to connect from a Windows XP Home Edition PC. > > Results: > 1) I can open all old data > 2) I can create new files > 3) I cannot modify and open the new files > > This seems a bit odd. >Is this the word file that you tried to modify? If so there is a very logical reason. When you save word does not modify a file it creates a new one then deletes the old then renames the old to the new. In this process the windows filesystems detect that and assign the new file the permissions of the recently deleted file of the same name. This wierd magic does not happen on linux filesystems so you have to do what the other user said force directory modes... John
Maybe Matching Threads
- Translation samba 3 how to in german, Übersetzung des Samab 3 How to ins deutsch
- Samba Translation Dok to German, first file, deutsche Übersetzung Der Samba Doku erste Datei
- Force set group id on samba domain member
- locks cooperating with a server side process
- Problem with incremental backup - copies instead of hard links