Re: Ownership of pluggable devices.

2013-09-07 Thread Joe
On Sat, 7 Sep 2013 12:43:09 +1000 Zenaan Harkness z...@freedbms.net wrote: Which filesystem to recommend for external USB portable drives, which move between 'random' hosts? I have gravitated to vfat, as some of us are required to use Windows for professional reasons. Usually I use two or

Re: Ownership of pluggable devices.

2013-09-07 Thread recoverym4n
Hi. On Sat, 7 Sep 2013 12:43:09 +1000 Zenaan Harkness z...@freedbms.net wrote: On 9/7/13, Gregory Nowak g...@gregn.net wrote: Which filesystem to recommend for external USB portable drives, which move between 'random' hosts? vfat, udf. If you can stomach it, ntfs or exfat. If moving

Re: Ownership of pluggable devices.

2013-09-06 Thread recoverym4n
On Thu, 5 Sep 2013 20:07:44 -0700 Gregory Nowak g...@gregn.net wrote: On Fri, Sep 06, 2013 at 12:34:05AM +0400, recovery...@gmail.com wrote: In short, invoke (after mounting the filesystem): chown -R peter /home/peter/MY I do stand to be corrected, but I don't remember a situation

Re (2): Ownership of pluggable devices.

2013-09-06 Thread peasthope
From: recovery...@gmail.com Date: Fri, 6 Sep 2013 00:34:05 +0400 /dev/KingstonUSB /home/peter/MY ext2 defaults,noauto,user 0 0 This line is the reason. ... Thanks for the detailed explanation. I've studied this note, installed udisks-glue and modified udisks-glue.conf as

Re: Re (2): Ownership of pluggable devices.

2013-09-06 Thread recoverym4n
On Fri, 6 Sep 2013 08:28:23 -0700 peasth...@shaw.ca wrote: I've studied this note, installed udisks-glue and modified udisks-glue.conf as described. http://goshawknest.wordpress.com/2013/02/21/how-to-make-usb-disks-readable-by-all-users-on-raspbmc/ Also noticed this.

Re (2): Ownership of pluggable devices.

2013-09-06 Thread peasthope
From: recovery...@gmail.com Date: Fri, 6 Sep 2013 00:34:05 +0400 chown -R peter /home/peter/MY ... after more cogitating. udisks-glue is interesting but, if a device is to belong to one user, ownership should be set by root immediately after formatting. Eg. mkfs.ext2 -b 4096 -L MY

Re: Ownership of pluggable devices.

2013-09-06 Thread Gregory Nowak
On Fri, Sep 06, 2013 at 07:28:46PM +0400, recovery...@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

Re: Ownership of pluggable devices.

2013-09-06 Thread Zenaan Harkness
On 9/7/13, Gregory Nowak g...@gregn.net wrote: On Fri, Sep 06, 2013 at 07:28:46PM +0400, recovery...@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,

Ownership of pluggable devices.

2013-09-05 Thread peasthope
Given two USB pluggable devices, a Sony Mylo, http://en.wikipedia.org/wiki/Mylo_(Sony) , and a Kingston flash store. # These lines for udev. root@dalton:/home/peter# tail -n 8 /etc/udev/rules.d/10-local.rules # Persistent device names. # The Sony mylo. KERNEL==sd?1, ATTR{size}==1752512,

Re: Ownership of pluggable devices.

2013-09-05 Thread recoverym4n
Hi. On Thu, 5 Sep 2013 11:19:25 -0700 peasth...@shaw.ca wrote: /dev/KingstonUSB /home/peter/MY ext2 defaults,noauto,user 0 0 This line is the reason. ext2 filesystem stores information about file/directory permissions inside itself, and root of this filesystem (/home/peter/MY) is

Re: Ownership of pluggable devices.

2013-09-05 Thread Gregory Nowak
On Fri, Sep 06, 2013 at 12:34:05AM +0400, recovery...@gmail.com wrote: In short, invoke (after mounting the filesystem): chown -R peter /home/peter/MY I do stand to be corrected, but I don't remember a situation where I had to do chown like this after every mount. All I've ever had to do in

Re: Ownership of pluggable devices.

2013-09-05 Thread Zenaan Harkness
On 9/6/13, peasth...@shaw.ca peasth...@shaw.ca wrote: Given two USB pluggable devices, a Sony Mylo, http://en.wikipedia.org/wiki/Mylo_(Sony) , and a Kingston flash store. # These lines for udev. root@dalton:/home/peter# tail -n 8 /etc/udev/rules.d/10-local.rules # Persistent device names.

Re: Ownership of pluggable devices.

2013-09-05 Thread Sharon Kimble
On Fri, 6 Sep 2013 13:51:09 +1000 Zenaan Harkness z...@freedbms.net wrote: On 9/6/13, peasth...@shaw.ca peasth...@shaw.ca wrote: Given two USB pluggable devices, a Sony Mylo, http://en.wikipedia.org/wiki/Mylo_(Sony) , and a Kingston flash store. # These lines for udev.