Bug 144447 - Should the format button be active for user mountable usb-storage drives?
Summary: Should the format button be active for user mountable usb-storage drives?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: usermode
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-07 05:06 UTC by Jef Spaleta
Modified: 2013-07-02 23:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-11 12:54:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jef Spaleta 2005-01-07 05:06:16 UTC
Description of problem:
Using usermode-1.76-1 from development tree on an fc3 install
to avoid the unmountable problem in bug 139820

I am still unable to format my vfat usb keydrive.
I expected to be able to reformat the usb keydrive using usermount.
I am able to mount and unmount the drive.

I just don't know where the actual problem is.. is this a problem with
udev rules? or with hal? or with usermount? or with my expectations?
if i had a better idea of how console permissions evolved in the
udev/hal stack i'd have a better idea of where to file this. So I'm
filing here in the hopes of getting it tracked at least.


Version-Release number of selected component (if applicable):
usermode-1.76-1

How reproducible:
everytime

Steps to Reproduce:
1. plugin usb key-drive and let hal do its voodoo
2. run usermount
3. no active format button  

Actual results:
can't format the usb drive that I plugged in as a normal user

Expected results:
I should be able to blow away the data via a format on the usb
keydrive that i inserted.

Please advise as to where i should refile this if I need to do that.


-jef

Comment 1 Jindrich Novy 2005-01-11 12:54:46 UTC
Hello Jef,

you need to change owner of /dev/sda1 to the user/group you're in
instead of root. usermount refuses to format your usbdisk fact it
checks access permissions to devices on startup to detect whether they
can be formatted or not:

ret->writable = ((access(ret->dev, W_OK) == 0) || superuser);

and simply disables the Format button when this won't succeed.



Note You need to log in before you can comment on or make changes to this bug.