Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 3935

Summary: imap doesn't ignore recursive symbolic links while doing LIST's
Product: [Retired] Red Hat Raw Hide Reporter: Jay Freeman <saurik>
Component: imapAssignee: Cristian Gafton <gafton>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-28 00:55:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jay Freeman 1999-07-07 16:06:26 UTC
If you do your standard  LIST "" *  command when you have
recursive symbolic links (which is actually common since
gnome likes to have the link ".gnome-desktop/Home
directory/" which points back to the home directory, which
of course has a .gnome-desktop in it...) imap continues
iterating deeper and deeper on a never ending quest to list
ALL the directories.  I noticed this when I was trying to
setup Outlook 2000 to use IMAP (although this should occur
in other versions as well, just never used them for IMAP
before) and requested a list of folders.

Comment 1 Cristian Gafton 1999-08-28 00:55:59 UTC
On my system imapd iterates over the recursive symlinks and outputs
them all until each dir listed reaches a size of PATH_MAX. It
certainly does not hang.

It is unclear to me if IMAP should really handle this case - I would
recommend asking the maintainers about a feature like this.