내 노트북에 Windows 공유를 마운트하려고 하는데 모든 것이 잘 마운트되지만 마운트된 폴더에 새 파일을 만들려고 하면 왠지 권한이 거부됩니다. noperm
, , uid
등을 시도했지만 아무것도 작동하지 않는 것 같습니다. 동일한 자격 증명을 공유하는 Windows 설치를 사용하는 모든 사람은 전체 읽기 및 쓰기 액세스 권한을 갖습니다. 제가 설치한 방법은 다음과 같습니다.gid
noacl
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
내가 뭘 잘못했나요?
우분투 12.10을 사용하고 있습니다.
//편집하다
의견에 제안된 옵션을 시도했지만 여전히 운이 없습니다.
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$
//편집 2
이유는 모르겠지만 오늘 갑자기 첫 번째 설치 명령을 사용하기 시작했습니다. 작동하려면 서버를 다시 시작해야 할 수도 있지만 Windows에서는 확실히 알 수 없습니다.