pmount, Jaunty: Error: '/' must not occur in label name

Bug #361559 reported by ozonehole
2
Affects Status Importance Assigned to Milestone
pmount (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The error (which only occurs in Jaunty-beta) is best demonstrated by example:

bob@dell:~> pmount /dev/sdb1 /shared
Error: '/' must not occur in label name
bob@dell:~> cd /shared
bob@dell:/shared> ls
bob@dell:/shared>

Now look what happens when I use the "mount" command:

bob@dell:~> sudo mount /dev/sdb1 /shared
[sudo] password for bob:
bob@dell:~> cd /shared
bob@dell:/shared> ls
bob
bob@dell:/shared> cd bob
bob@dell:/shared/bob> ls
a fetchmail linux reviews
a2 fetchmailrc logs scripts
a3 fetchyahoorc lp singer

As you can see, the "mount" command allows me to mount my USB pen-drive on a directory named "/shared", but pmount doesn't work.

best regards,
Robert

Revision history for this message
Vincent Fourmond (fourmond) wrote :

Hmmmmmmm...

I sincerly suggest that you read the manual page: mounting is only authorized in the /media subdirectory, for security reasons. This will never change. If you must have a another mounting point, go ahead with sudo mount.

Cheers,

Vincent Fourmond (current pmount maintainer)

Changed in pmount (Ubuntu):
status: New → Invalid
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.