kern/163065: UDF support for symbolic links with absolute path is
broken
dr. Gábor Surányi
otnaccess at hotmail.com
Sun Dec 4 18:20:09 UTC 2011
>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:
More information about the freebsd-bugs
mailing list