![]() |
Ownership problems with sharing data on tablet and computer.
I was trying to share the data on my removable (ext3) sd card with my computer; in other words, I wanted to be able to read and write to the same files on the sd card from either the tablet or the computer. The problem is with the permissions: files get created with the user "user" on the tablet, and with the user "belanger" on my computer, and that causes problems. Is there some way to get the tablet to use uid and gid 1000? (I think that would take care of the problem. Or is there another workaround?)
|
Re: Ownership problems with sharing data on tablet and computer.
The easiest way I can think of is to just format it as FAT32, but that's probably not the answer you want.
|
Re: Ownership problems with sharing data on tablet and computer.
Ouch! Not really, but thanks for the thought.
|
Re: Ownership problems with sharing data on tablet and computer.
You could use the same gid on both computers. Would that be a solution?
|
Re: Ownership problems with sharing data on tablet and computer.
optionally, turn on RW for "others".
its not like something like this will stop anyone from getting to the data if they get hold of the SD card anyways... |
Re: Ownership problems with sharing data on tablet and computer.
How would I change the gid used by user on the tablet? (Or would I have to set up a user with the proper gid on my computer?)
Making everything readable and writable by everyone would work, I suppose. Thanks. |
Re: Ownership problems with sharing data on tablet and computer.
If you want to read and write on your sd-card as uid:gid 29999:29999 (corresponding to user:users on your tablet) you might want to consider to mount your sd-card indirectly via nfs.
put this into /etc/exports on your pc Code:
/media/nokiafake 127.0.0.1(rw,sync,no_subtree_check,anonuid=29999,anongid=29999,all_squash) mount /dev/sdc1 /media/nokiafake you don't have matching access right yet, but if you nfs-mount /media/nokiafake to /media/nokiareal mount -t nfs localhost:/media/nokiafake /media/nokiareal the ownership is set to 29999:29999, you can read and write... ok, this is an ugly workaround but it seems to work here and can be simplified by putting a record into /etc/fstab. |
All times are GMT. The time now is 23:56. |
vBulletin® Version 3.8.8