[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ownership of pluggable devices.



On Fri, Sep 06, 2013 at 07:28:46PM +0400, recoverym4n@gmail.com wrote:
> Take two different hosts, make user with the same name, but different
> uids on those hosts.
> 
> Take USB stick, format it as ext2 (any filesystem keeping file
> permissions will do, actually).
> 
> Now, move some files with this USB stick between hosts.
> 
> This is exactly the situation that requires chown-after-mount unless
> you have root on both hosts.

Yes, you're right. In the past, I either mounted fat/vfat drives on
different systems, or mounted an ext3 drive always on the same system,
or had the same user with same uid on each system. That's why I hadn't
run before into what you describe, which would require chown after
each mount as you point out.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-manager@EU.org


Reply to: