Public bug reported:

pumount shell script (frontend to pumount.real) doesn't handle labels
with spaces in them

Steps to reproduce:
- Mount a device with a label with a space: $ pmount /dev/scd1 'test label'
- Attempt to umount using escaped spaces: $ pumount /media/test\ label/
Usage:

/usr/bin/pumount.real [options] <device>
  Umount <device> from a directory below /media/ if policy requirements
  are met (see pumount(1) for details). The mount point directory is removed
  afterwards.

Options:
  -l, --lazy  : umount lazily, see umount(8)
  -d, --debug : enable debug output (very verbose)
  -h, --help  : print help message and exit successfuly
  --version   : print version number and exit successfully

- Attempt to umount using quoted spaces: $ pumount '/media/test label/'
Same result

- Call the real pumount: $ pumount.real '/media/test label/'
Works

Pumount shell script needs to quote the arguments it passes to
pumount.real

** Affects: pmount (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
pumount shell script doesn't handle labels with spaces
https://bugs.launchpad.net/bugs/112771
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to