Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2011 18:13:34 GMT
From:      "dr. Gábor Surányi" <otnaccess@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/163065: UDF support for symbolic links with absolute path is broken
Message-ID:  <201112041813.pB4IDYPw027071@red.freebsd.org>
Resent-Message-ID: <201112041820.pB4IK9s3013662@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163065
>Category:       kern
>Synopsis:       UDF support for symbolic links with absolute path is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 18:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     dr. Gábor Surányi
>Release:        9.0-BETA3
>Organization:
>Environment:
FreeBSD livecd 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Tue Oct 25 19:37:20 ADT 2011
>Description:
Mounting a disc as UDF which contains symbolic links with absolute path does not work correctly.
For instance a link
mounttab -> /etc/mounttab
is seen as
mounttab -> /etcmounttab

>How-To-Repeat:
Download http://db.bme.hu/suranyi/UDF_abs_link.iso
Mount the image as UDF.
Do ls -l for the directory the image is mounted to.
You would see
lr--r--r--  1 root  wheel  25 Jan  1  1970 mounttab -> /etcmounttab
or similar.
However it should be
lr--r--r--  1 root  wheel  25 Jan  1  1970 mounttab -> /etc/mounttab
or similar.

>Fix:
Reference: http://svnweb.freebsd.org/base/head/sys/fs/udf/udf_vnops.c?revision=227293&view=markup

Revise the blocks starting at line 972.  

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112041813.pB4IDYPw027071>