View Issue Details

IDProjectCategoryView StatusLast Update
0007897CentOS-7kernelpublic2014-11-18 12:40
Reporterseanblee Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7
Product Version7.0-1406 
Summary0007897: CIFS incorrectly treats any NTFS reparse point as a symlink
DescriptionIn-kernel CIFS in CentOS7 treats any NTFS reparse point as a symlink, which breaks access to files stored on Windows Server 2012 with deduplication enabled. For example:

[root@flash ad_csd_msdadmin]# uname -a
Linux flash.datcon.co.uk 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@flash ad_csd_msdadmin]# mount | grep msdadmin
//ad/csd/msdadmin on /mnt/ad_csd_msdadmin type cifs (ro,relatime,vers=1.0,cache=strict,username=vpgbuild,domain=DCL,uid=0,noforceuid,gid=0,noforcegid,addr=172.18.10.78,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1)
[root@flash ad_csd_msdadmin]# ll | grep widget
l--------- 0 root root 93388 May 17 2010 widget_not_showing_most_recent.jpg -> ???????????????
[root@flash ad_csd_msdadmin]# file widget_not_showing_most_recent.jpg
widget_not_showing_most_recent.jpg: broken symbolic link to `???????????????\001'
[root@flash ad_csd_msdadmin]#

By comparison, here's the output from a CentOS 6 machine:

[root@enfirepo1 ad_csd_msdadmin]# uname -a
Linux enfirepo1.datcon.co.uk 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@enfirepo1 ad_csd_msdadmin]# mount | grep msdadmin
//ad/csd/msdadmin on /mnt/ad_csd_msdadmin type cifs (ro)
[root@enfirepo1 ad_csd_msdadmin]# ll | grep widget
-rwxr-xr-x. 0 root root 93388 May 17 2010 widget_not_showing_most_recent.jpg
[root@enfirepo1 ad_csd_msdadmin]# file widget_not_showing_most_recent.jpg
widget_not_showing_most_recent.jpg: JPEG image data, JFIF standard 1.01
[root@enfirepo1 ad_csd_msdadmin]#

I've verified the problem still exists on the current kernel (3.10.0-123.9.3.el7.x86_64).

A fix went into the kernel back in November 2013 (see http://marc.info/?l=linux-cifs&m=138331434210092&w=2) - could this be backported to CentOS7, please?
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-11-18 12:40 seanblee New Issue