Two-lines patch for glob handling in /etc/pmount.allow

Bug #80359 reported by Mantas Kriaučiūnas on 2007-01-17
2
Affects Status Importance Assigned to Milestone
pmount
Fix Released
Undecided
Vincent Fourmond
pmount (Baltix)
Medium
Mantas Kriaučiūnas
pmount (Ubuntu)
Undecided
Unassigned

Bug Description

In pmount TODO file there is a line "add glob support to pmount.allow"

Few months ago I added glob support and sent 2 lines patch to Martin Pitt through IRC, but it seems he forgot to apply it...

So, now I'm attaching 2 lines patch for glob handling in /etc/pmount.allow to this bugreport ;)

Mantas Kriaučiūnas (mantas) wrote :

When you apply glob handling in /etc/pmount.allow patch then please change line "add glob support to pmount.allow" in TODO file with

"add allowing [ and ] characters in pmount.allow glob support"
;)

My patch simply changes "if( !strcmp(d, device) )" with
if( !fnmatch(d, device, FNM_PATHNAME) )

Changed in pmount:
assignee: nobody → mantas
importance: Undecided → Medium
status: Unconfirmed → Fix Committed
Changed in pmount:
assignee: nobody → fourmond
Vincent Fourmond (fourmond) wrote :

This is fixed in version 0.9.16 of pmount which has been released few minutes ago.

Changed in pmount:
status: New → Fix Released
Vincent Fourmond (fourmond) wrote :

Released in debian few minutes ago, please wait that Ubuntu synchronises to 0.9.16

Changed in pmount:
status: New → Fix Released
Przemek K. (azrael) on 2009-11-20
Changed in pmount (Baltix):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers