[linux-cifs-client] problems accessing winxp shares with directory
links inside
Steven French
sfrench at us.ibm.com
Mon Oct 18 02:46:13 GMT 2004
Looks like you found a bug. Thanks.
I would like to reproduce this on one of my test systems - can you explain
the "alt+F6 in Far Manager" comment more. I don't recognize that
applicaiton and the Microsoft article on keyboard shortcuts
http://support.microsoft.com/default.aspx?scid=kb;en-us;q126449) lists
this as for swithcing active windows.
Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
Erik Latoshek <forester at hacker.lv>
Sent by: linux-cifs-client-bounces+sfrench=us.ibm.com at lists.samba.org
10/16/2004 12:03 PM
To
linux-cifs-client at lists.samba.org
cc
Subject
[linux-cifs-client] problems accessing winxp shares with directory links
inside
when mounting winxp sp2 shares on linux client, client is unable to
access directories inside share which are actually links(created by
alt+F6 in Far Manager) on windows machine.
cifs returns something like unable to acess symlink target.
knowing that smbfs in this case is working fine, i just removed all
S_IFLNK code inside cifs kernel source tree with successfull results.
for example, file.c:
if (pfindData->ExtFileAttributes & ATTR_REPARSE) {
*pobject_type = DT_LNK;
/* BB can this and S_IFREG or S_IFDIR be set as in
Windows? */
tmp_inode->i_mode |= S_IFLNK;
} else if (pfindData->ExtFileAttributes & ATTR_DIRECTORY) {
*pobject_type = DT_DIR;
/* override default perms since we do not lock dirs */
i removed first if clause, as i believe windows is returning
simultaneously ATTR_REPARSE | ATTR_DIRECTORY but cifs does not handle
such situations.
kernel 2.6.8.1 (colinux 0.6.2 pre4 patch)
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client at lists.samba.org
http://lists.samba.org/mailman/listinfo/linux-cifs-client
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the linux-cifs-client
mailing list