application have no privilege to write extend storage file system

Bug #156522 reported by yanglei
2
Affects Status Importance Assigned to Milestone
Moblin UI Framework
Invalid
Medium
Rusty Lynch

Bug Description

When we use the SD/USB stick as extend storage, we have no way to let user write something into such extend storage because of root privilege protection.

currently, we can only use root user to mount the file system on SD/USB stick. This will prevent some usage model like:
edit some docs with "moblin-note" and store on the SD/USB stick.

yanglei (lei-a-yang)
Changed in moblin-ui-framework:
assignee: nobody → bob-spencer
importance: Undecided → Medium
Revision history for this message
Horace (horace-li) wrote :

I will take a look on this.

Changed in moblin-ui-framework:
status: New → Triaged
Revision history for this message
yanglei (lei-a-yang) wrote :

I did some investigation on this.
I found this is because I mount the USB stick to /mnt. UME user cannot write the folder by defaultly.

So I think this is caused by missing auto-mount machenism.

yanglei (lei-a-yang)
Changed in moblin-ui-framework:
milestone: none → m9
Margie (margie-foster)
Changed in moblin-ui-framework:
assignee: bob-spencer → rusty-lynch
milestone: m9 → m10
Revision history for this message
Rusty Lynch (rusty-lynch-intel) wrote :

The software component that implements automounting, gnome-volume-manager, will mount removabile devices with permissions to allow the current user to read/write data on the device. By installing moblin-media-import, then gnome-volume-manager gets installed as a dependency.

Changed in moblin-ui-framework:
status: Triaged → Fix Committed
Revision history for this message
yanglei (lei-a-yang) wrote :

Rusty, in our latest image (QA image 20080317), I found the auto-mount mechanism cannot work.
The package moblin-media-import (v0.41) and gnome-volume-manager (2.17.0-2ubuntu2).

So I reopen the bug.

Changed in moblin-ui-framework:
status: Fix Committed → New
Revision history for this message
Horace (horace-li) wrote :

Yanglei, please file a new bug with description "auto-mount mechanism cannot work on current Moblin environment". The bug has been different and kept tracking here will cause confusion.

Thanks a lot,
Horace

Revision history for this message
Horace (horace-li) wrote :

This bug is cause of missed parameter appending when user tries to mount removable device manually, With proper options, application can have privilege to write extend storage file system, Sample is like `sudo mount /dev/sdb /mnt -o uid=1000 (1000 is the uid of ume)`.

Changed in moblin-ui-framework:
status: New → Invalid
Revision history for this message
yanglei (lei-a-yang) wrote :

I agree with Horace's comments.
I have filed a new bug to track the issue "auto-mount mechanism cannot work on current Moblin environment" (bug #203431)

Changed in moblin-ui-framework:
milestone: m10 → fix-later
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.