file-roller complains that "tar" command not found

Bug #16368 reported by Laurent Cazalet
This bug report is a duplicate of:  Bug #14991: Fails to pass PATH to sub-processes. Edit Remove
8
Affects Status Importance Assigned to Milestone
file-roller (Ubuntu)
Invalid
Medium
Sebastien Bacher

Bug Description

Very weird combination of events

- change PATH in .gnomerc
export PATH="$PATH:/something/else"

-in Nautilus, open (doubleclick or click) a tar.gz file. file-roller will open
if the filename is long (over 24 chars before the .tar.gz, may vary if more than
3 dots in name) or has more than 3 or 4 dots in it (depends on the filename
length) you get an error

/bin/sh: tar: command not found

opening the file normally (file->open in file-roller) or by DND works okay

tried to replace /bin/sh by a bash script of mine dumping $PATH, it turns out
that in some cases, PATH is not complete (just the 8 or 9 heading characters).
Likewise, tried to replace /usr/bin/file-roller by a bash script dumping PATH:
everything seems fine.

Revision history for this message
Laurent Cazalet (laurent-cazalet) wrote :

probably a dupe of #8671
sorry about that.

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug has been marked as a duplicate of bug 14991.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.