Computing.Net > Forums > Linux > A question on mounting moveable dev

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

A question on mounting moveable dev

Reply to Message Icon

Name: satimis
Date: April 28, 2008 at 07:42:58 Pacific
OS: Ubuntu 7.10 desktop 64bui
CPU/Ram: Athlon64 X2/2G
Comment:

Hi folks,


Since only root can mount moveable device I run "sudo mount" to do the job. However all files copied onto the moveble device become owned by root. Is there a clue to allow a selected user (NOT all users) to mount movable device as user NOT as root so that the ownership of files copied on to the device can be retained as original. TIA


B.R.
satimis



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: April 28, 2008 at 14:35:10 Pacific
Reply:

https://help.ubuntu.com/community/UsbFlashDrives

If you want the mount to be the same. Then add in this info. http://ubuntu-tutorials.com/2006/12...

"Best Practices", Event viewer, host file, perfmon, are in my top 10


0

Response Number 2
Name: satimis
Date: April 28, 2008 at 20:24:37 Pacific
Reply:

Hi jefro,


Thanks for your advice.


I follow;

Ubuntu Tutorials : Dapper - Feisty - Gutsy - Hardy
http://ubuntu-tutorials.com/2006/12...

running
$ udevinfo -a -p $(udevinfo -q path -n /dev/sdx) | grep SYSFS{serial}


without output

Tried
/dev/sdx as

/dev/sdb

/dev/sdb1

/dev/sda

all w/o output


$ fdisk -l

Disk /dev/sdb: 260 MB, 260570624 bytes
16 heads, 32 sectors/track, 993 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 994 254447+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(1023, 15, 32) logical=(993, 15, 31)
* end *


Also tried mounting USB to perform above test but w/o result.


B.R.
satimis


0

Response Number 3
Name: jefro
Date: April 29, 2008 at 14:20:00 Pacific
Reply:

The first link is where you should start this issue. To be more advanced then go on to the second link.

"Best Practices", Event viewer, host file, perfmon, are in my top 10


0

Response Number 4
Name: satimis
Date: April 29, 2008 at 23:45:59 Pacific
Reply:

Hi jefro,


Thanks for your further advice.


Sorry, I only run a simple desktop on this server Ubuntu 7.04 server amd64.

("OS: Ubuntu 7.10 desktop 64bui" is a mistake. I forgot amending it).


I don't have;

Navigate to "System" > "Administration" > "User and Groups"

on desktop


I found my solution by running;

# sudo mount -o uid=1000,gid-1000 /dev/sdb1 /media/sdb1


Then I can preserve owner and permission of the files copied on it.


But I can't find my solution on the second link.


B.R.
satimis


0

Response Number 5
Name: jefro
Date: April 30, 2008 at 15:44:12 Pacific
Reply:

Maybe I didn't help at all???

"Best Practices", Event viewer, host file, perfmon, are in my top 10


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: A question on mounting moveable dev

A question on Redhat www.computing.net/answers/linux/a-question-on-redhat/25961.html

Run a program on remote site www.computing.net/answers/linux/run-a-program-on-remote-site-/7826.html

A question on ImageMagick www.computing.net/answers/linux/a-question-on-imagemagick/26941.html