Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: satimis
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

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

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 outputTried
/dev/sdx as/dev/sdb
/dev/sdb1
/dev/sda
all w/o output
$ fdisk -lDisk /dev/sdb: 260 MB, 260570624 bytes
16 heads, 32 sectors/track, 993 cylinders
Units = cylinders of 512 * 512 = 262144 bytesDevice 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

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

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

![]() |
![]() |
![]() |

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