Como montar o samba rw porque tudo falha

1

Estou tentando montar o compartilhamento do Windows no meu laptop e tudo é montado corretamente, mas de alguma forma recebo permissão negada quando tento criar um novo arquivo dentro da pasta montada. Eu tentei noperm , uid , gid , noacl etc. e nada parece funcionar. Todos que usam as montagens do Windows compartilham com as mesmas credenciais o acesso total de r / w. Aqui está como eu montei:

piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777 //10.36.253.222/dysk\ f/ samba/

mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,uid=1000,gid=1000,user=***,pass=********
piotrek@piotrek-Vostro-2520:~/tmp$ cd samba/
piotrek@piotrek-Vostro-2520:~/tmp/samba$ ls -la
total 4
drwxrwxrwx 2 piotrek piotrek    0 mar 27 13:19 .
drwxrwxr-x 3 piotrek piotrek 4096 kwi  9 12:41 ..
drwxrwxrwx 0 piotrek piotrek    0 mar 18 11:50 AS-SET
drwxrwxrwx 0 piotrek piotrek    0 mar 27 13:29 EDUKACJA
drwxrwxrwx 0 piotrek piotrek    0 mar 18 11:52 RECYCLER
drwxrwxrwx 0 piotrek piotrek    0 cze  5  2012 System Volume Information
piotrek@piotrek-Vostro-2520:~/tmp/samba$ touch abc
touch: cannot touch 'abc': Permission denied

O que estou fazendo de errado?

Estou usando o Ubuntu 12.10.

// EDITAR

Já experimentei opções sugeridas nos comentários, mas ainda sem sorte:

piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlm //10.36.253.222/dysk\ f/ samba/                                                                         
[sudo] password for piotrek:                                                                                                                                                                                                                                          
Sorry, try again.                                                                                                                                                                                                                                                     
[sudo] password for piotrek:                                                                                                                                                                                                                                          
Sorry, try again.                                                                                                                                                                                                                                                     
[sudo] password for piotrek:                                                                                                                                                                                                                                          
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlm,uid=1000,gid=1000,user=***,pass=********                                                                                              
piotrek@piotrek-Vostro-2520:~/tmp$ touch samba/dddd
touch: cannot touch 'samba/dddd': Permission denied                                                                                                                                                                                                                   
piotrek@piotrek-Vostro-2520:~/tmp$ sudo umount samba/
piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmi //10.36.253.222/dysk\ f/ samba/
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmi,uid=1000,gid=1000,user=***,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmv2 //10.36.253.222/dysk\ f/ samba/
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmv2,uid=1000,gid=1000,user=***,pass=********
piotrek@piotrek-Vostro-2520:~/tmp$ touch samba/dddd
touch: cannot touch 'samba/dddd': Permission denied
piotrek@piotrek-Vostro-2520:~/tmp$ sudo umount samba/
piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmv2i //10.36.253.222/dysk\ f/ samba/
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmv2i,uid=1000,gid=1000,user=***,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmssp //10.36.253.222/dysk\ f/ samba/
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmssp,uid=1000,gid=1000,user=***,pass=********
piotrek@piotrek-Vostro-2520:~/tmp$ touch samba/dddd
touch: cannot touch 'samba/dddd': Permission denied
piotrek@piotrek-Vostro-2520:~/tmp$ sudo umount samba/
piotrek@piotrek-Vostro-2520:~/tmp$ sudo mount -v -t cifs -o username=***,password=***,uid=1000,gid=1000,rw,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmsspi //10.36.253.222/dysk\ f/ samba/
mount.cifs kernel mount options: ip=10.36.253.222,unc=\10.36.253.222\dysk f,noperm,noacl,file_mode=0777,dir_mode=0777,sec=ntlmsspi,uid=1000,gid=1000,user=***,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
piotrek@piotrek-Vostro-2520:~/tmp$

// EDIT 2

Não sei porque, mas hoje de repente começou a trabalhar com o meu primeiro comando de montagem. Provavelmente, a reinicialização do servidor foi necessária para fazê-lo funcionar, mas você nunca pode ter certeza com o windows ...

    
por piotrekkr 10.04.2013 / 09:14

0 respostas