[Samba] (no subject)

Michał Minicki martel at post.pl
Thu Oct 16 18:09:06 GMT 2008


Hello everybody. I have a strange problem with cifs and Samba share. I have 
a Qnap NAS server (TS-109) and I would like to have a private share where I 
could keep my stuff and access them through Windows and Linux. But I have 
an odd problem and I can't tell what's wrong.

I can write new files on a share, I can update them but I can't write on 
special occasions. And because of this thunderbird (with a remote profile) 
does not work as well.

Look, I can create a file, write to it but can't create a new file in place 
of an old one:

[CODE]martel at nebula:~$ echo agata > Shared/test5.txt
martel at nebula:~$ cat Shared/test5.txt
agata
martel at nebula:~$ echo agata > Shared/test5.txt
bash: Shared/test5.txt: Not a directory
martel at nebula:~$ echo agata >> Shared/test5.txt
martel at nebula:~$ cat Shared/test5.txt
agata
agata
martel at nebula:~$ echo agata > Shared/test5.txt
bash: Shared/test5.txt: Not a directory
martel at nebula:~$ ls -l Shared/test5.txt
-rw-rw-rw- 1 martel users 12 2008-10-16 19:56 Shared/test5.txt[/CODE]

My share looks like this:

[CODE]//share/folder /home/martel/Shared cifs    defaults,uid=martel,
gid=users,file_mode=0666,dir_mode=0777,
credentials=/home/martel/.cifs-credentials[/CODE]

Can you possibly leave some hint on what can be wrong?



-- 
Martel Valgoerad aka Michal Minicki | martel at aie.pl | http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." 
 -- Floyd Dell



More information about the samba mailing list