On 01/21/2015 03:01 PM, Aaron Digulla wrote:
Am 21.01.2015 um 20:16 schrieb Anton Aylward:
Someone tried, time ago, and said it worked. Of course, on the same machine, because as you say, a different machine may have a different set of UID numbers. There is no mapping mechanism.
LOL! NFS comes to mind. But the mapping mechanism that uses won't work with locally mounted disks will it?
Oh, wait! Export that mounted FS using NFS then import it somewhere else with the mapping ...
Actually, you should be able to mount an NFS share from localhost (127.0.0.1). The NFS service runs as root.
The problem might be the mapping. If the FS uses different users, you will need to map your user ID to two IDs for the NFS. But if all files on the disk are owned by the same user ID, this might actually work.
If the files on the mounted disk are similarly owned then there's no point in all this. What we are discussing is the case where the ownerIDs of the (removable) disk are different NUMERICALLY from the system the disk is being mounted on. That is exactly the situation with a NFS mount. The same symbolic names might exist on both the remote and local machines but with different numerical IDs. When we are faced with that with NFS there is a mapping tool. What is basically does is numberX on the specific NFS mount corresponds to numberY here. If you think about it, that has to be possible for each possible NFS mount from different machines, so adding it for localhost is not a problem. The whole point is that this mapping is only done for the NFS mounted volume. So what we have is * all the local file systems These are not NFS mounted so no mapping is done. * the mounted removable drive This is locally mounted so no mapping is done, but being a 'foreign generated' the owner & group numericalIDs are not the ones we need * the NFS mounted view of the locally mounted removable drive Because this is NFS mounted it can have the IDs mapped. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org