Jump to content

USB pen drive can be mounted only once sec level 4


emmanuel_uk
 Share

Recommended Posts

Mdv2007, can anybody please reproduce this? Using security level 4 (higher)

However, using level 3, I can plug / unplug as many times as I want the usb drive.

The fact it works only once make me think of a bug (I know I should not say that)

 

Logged as myuser (part of adm and wheel). Level 4 draksec. Plug USB device.

Icon comes up. Window comes up. Click ok. Can see pen drive

content in konqueror media:/ (mounted as myuser group root)

Click on device icon, remove safely, wait, remove pen. Icon goes away.

Replug USB pen, icon appears, windows come, click OK, conqueror

Points to media:/sda1 but nothing to display.

Everytime I click on unmounted usb pen drive icon on desktop, pen get mounted once more

To /mnt/removable-n where n =1,2,3…

(same if using right hand click menu mount)

Now pen drive icon in konqueror, media list, pen icon, will display very quickly

a kind of small lock when clicking on pen drive icon.

All the mount point /mnt/removable-n can be accessed via konqueror or ls -l

 

System setup:

Drakperm I added /mnt/ as 766 (Maybe should try /mnt/*)

Files permissions are definetely an issue as they vary from level 3 to 4.

But it looks like something else is involved

using visudo as root I have set

myusername ALL = (root) NOPASSWD: /bin/mount, /bin/umount

$ ls -l /bin/mount

-rwsr-xr-x 1 root root 111404 Jun 29 19:57 /bin/mount*

 

Things I tried

2 different USB pens

Service haldaemon restart (give me fail + fail; cannot restart it)

Looking at /var/log/syslog live I have not caught anything yet

(away from PC now anyhow)

 

I do not want for now to go into editing /etc/fstab with the like of

/dev/sda1 /mnt/removable vfat defaults,noexec,users,noauto 0 0

because with HAL it should all be taken care of.

 

So why/where Level 4 is dealing differently with mounting device?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...