[linux-cifs-client] Can't create symlink on a windows share
brice.rouanet at iut-tlse3.fr
brice.rouanet at iut-tlse3.fr
Mon Jan 12 18:09:05 GMT 2009
Hi,
I user samba 3.2.5 with 2.6.28 kernel and I mount homes from a windows
2008 with pam_mount with this options :
sec=krb5,guest,iocharset=utf8,file_mode=0755,dir_mode=0755
Mount is successfull but i can't create a symlink in the home :
user1 at debian:~$ ln -sf aa rr
ln: creating symbolic link `rr': Permission non accordée
Here there is the home acl :
user1 at debian:~$ ls -al
total 5
drwxr-xr-x 1 root root 0 jan 12 11:09 .
drwxrwxrwx 4 root root 4096 nov 20 18:51 ..
-rwxr-xr-x 1 user1 utilisateurs du domaine 0 jan 12 11:09 aa
and here the kernel log :
Jan 12 13:49:41 debian kernel: [27043.424113] fs/cifs/dir.c: neg
dentry 0xffff88005ed323c0 name = rr
Jan 12 13:49:41 debian kernel: [27043.424117] fs/cifs/dir.c: CIFS
VFS: in cifs_lookup as Xid: 1005 with uid: 10004
Jan 12 13:49:41 debian kernel: [27043.424118] fs/cifs/dir.c: parent
inode = 0xffff88005ed3bcb8 name is: rr and dentry = 0xffff88005ed328a0
Jan 12 13:49:41 debian kernel: [27043.424121] fs/cifs/dir.c: NULL
inode in lookup
Jan 12 13:49:41 debian kernel: [27043.424122] fs/cifs/dir.c: Full
path: \rr inode = 0x0000000000000000
Jan 12 13:49:41 debian kernel: [27043.424123] fs/cifs/inode.c:
Getting info on \rr
Jan 12 13:49:41 debian kernel: [27043.424133] fs/cifs/transport.c:
For smb_command 50
Jan 12 13:49:41 debian kernel: [27043.424134] fs/cifs/transport.c:
Sending smb of length 80
Jan 12 13:49:41 debian kernel: [27043.424651] fs/cifs/connect.c:
rfc1002 length 0x27
Jan 12 13:49:41 debian kernel: [27043.424654] fs/cifs/connect.c:
invalid transact2 word count
Jan 12 13:49:41 debian kernel: [27043.424663] Status code returned
0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
Jan 12 13:49:41 debian kernel: [27043.424666] fs/cifs/netmisc.c:
Mapping smb error code 2 to POSIX err -2
Jan 12 13:49:41 debian kernel: [27043.424668] fs/cifs/cifssmb.c: Send
error in QPathInfo = -2
Jan 12 13:49:41 debian kernel: [27043.424671] fs/cifs/dir.c: CIFS
VFS: leaving cifs_lookup (xid = 1005) rc = 0
Jan 12 13:49:41 debian kernel: [27043.424675] fs/cifs/dir.c: neg
dentry 0xffff88005ed328a0 name = rr
Jan 12 13:49:41 debian kernel: [27043.424684] fs/cifs/dir.c: neg
dentry 0xffff88005ed328a0 name = rr
Can you help me ?
Regards,
Brice.
****************************************
Brice Rouanet
Technicien informatique
Département Genie Chimique
Centre de Ressources Informatiques
****************************************
Tel : 05.62.25.89.19
****************************************
CRI - IUT "A" PAUL SABATIER
137, avenue de Rangueil
BP67701
31077 TOULOUSE CEDEX 04
****************************************
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the linux-cifs-client
mailing list