OpenSolaris

Printable Version Enter a New Search
Bug ID 6716578
Synopsis can not delete file in extended attribute name space in cifs client when cifs server is solaris
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:cifs
Keywords xattr
Responsible Engineer Joyce Mcintosh
Reported Against a_004
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_103
Fixed In snv_103
Release Fixed solaris_nevada(snv_103)
Related Bugs 6617183 , 6761491 , 6763591 , 6765313
Submit Date 19-June-2008
Last Update Date 19-November-2008
Description
test build(bfu'ed from /net/sekhmet.east/export/smbfs/gate/archives/i386/xattr4 on 2008-06-19)is development build for smbfs xattr function

cifs server : SunOS goldmemory(goldmemory.prc.sun.com) 5.11 snv_92 i86pc i386 i86pc
cifs client : SunOS silverspoon 5.11 gate (silverspoon.prc.sun.com), Workgroup mode,global zone ,64 bit

server(goldmemory.prc.sun.com):login in as root user
client(silverspoon.prc.sun.com):login in as root user

mount -F smbfs //cifs_user:cifs_use@goldmemory/public /export/mnt/

bash-3.2# cd /export/mnt/                             //go to mount point
bash-3.2# pwd
/export/mnt
bash-3.2# touch test_file                             //create a file in mount point
bash-3.2# runat test_file cp /etc/passwd .            //create a xattr named "passwd" in file "test_file"
bash-3.2# runat test_file ls                          //see there is a xattr named "passwd" in the file 
passwd
bash-3.2# runat test_file diff passwd /etc/passwd     //verified the xattr file is same as "/etc/passwd"
bash-3.2# 
bash-3.2# runat test_file rm passwd                   //delete the xattr file
bash-3.2#
bash-3.2# runat test_file ls                          //but is also has the xattr file "passwd"
passwd
bash-3.2# runat test_file diff passwd /etc/passwd     //and it is same as "/etc/passwd"
bash-3.2# 

When create a xattr file in a file in extended attribute name space,But can't delete it!
Work Around
N/A
Comments
N/A