[Bugs] #3834 sugar UNSP: Journal doesn't follow symlinks

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 27 15:40:39 EDT 2012


#3834: Journal doesn't follow symlinks
------------------------------------------+---------------------------------
    Reporter:  humitos                    |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Steps to reproduce it:

  1. Create a directory under /tmp, "test" for example
 {{{
 mkdir /tmp/test
 }}}
  2. Copy some files (pdf, audio, scripts, anything) inside /tmp/test
  3. Make a symlink to this folder under ~/Documents
 {{{
 cd ~/Documents
 ln -s /tmp/test .
 }}}
  4. Run Sugar
  5. Go to the Journal
  6. Click "Documents" icon at the bottom

 Issue:

 Your files under /tmp/test do not appear in the Journal list.

 Expected behaviour:

 Show the files under /tmp/test

 ----

 I found this topic was already discussed here[1] and a patch was applied
 here[2] but I think there is a bug on this patch because of this that I'm
 reporting here.

 I'm uploading a patch that allow symlinks to be followed but I'd like to
 improve it because it doesn't contemplate all the cases.

 [1] http://dev.laptop.org/ticket/10140
 [2]
 http://git.sugarlabs.org/sugar/mainline/commit/c4faafd51c63bf19e14f23b710d310269dff4b07

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3834>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list