Prev: SlackBuild script environment (was Re: [12.2] installpkg messing upperms)
Next: sshfs, no directory count? was: ext4, truecrypt and sshfs, no d...
From: LostInTheLoop on 14 Jul 2010 04:57 On pc1 I mount a truecrypt volume root#pc1:~# truecrypt /dev/disk/by-id/usb-xxxx\:0-part1 /mnt/disk/ -m ro Then I check the contents of a directory: root#pc1:~# ls -hal /mnt/disk/somefolder I get this: drwxr-xr-x 3 root root 4.0K 2010-07-13 08:03 ./ drwxr-xr-x 24 root root 4.0K 2010-07-13 14:34 ../ ....more files The numbers 3 and 24 are correct. root#pc1:~# mount says truecrypt on /tmp/.truecrypt_aux_mnt1 type fuse.truecrypt (rw,nosuid,nodev,allow_other) /dev/mapper/truecrypt1 on /mnt/disk/ type ext4 (ro) Now on pc2 I mount pc1:/mnt/disk through sshfs: root#pc2:~# sshfs pc1:/mnt/disk/ /mnt/disk root#pc2:~# ls -hal /mnt/disk/somefolder drwxr-xr-x 1 root root 4.0K Jul 13 08:03 ./ drwxr-xr-x 1 root root 4.0K Jul 13 14:34 ../ ....more files I can cd perfectly in all the folders above, below and on the same level as ../somefolder, but the numbers 3 and 24 are now gone. root#pc2:~# mount says pc1:/mnt/disk/ on /mnt/disk type fuse.sshfs (ro,nosuid,nodev,max_read=65536)
From: Grant on 14 Jul 2010 05:30 On Wed, 14 Jul 2010 10:57:26 +0200, LostInTheLoop <bumping(a)ro.und> wrote: >On pc1 I mount a truecrypt volume >root#pc1:~# truecrypt /dev/disk/by-id/usb-xxxx\:0-part1 /mnt/disk/ -m ro > >Then I check the contents of a directory: > >root#pc1:~# ls -hal /mnt/disk/somefolder > >I get this: >drwxr-xr-x 3 root root 4.0K 2010-07-13 08:03 ./ >drwxr-xr-x 24 root root 4.0K 2010-07-13 14:34 ../ >...more files > >The numbers 3 and 24 are correct. > >root#pc1:~# mount says > >truecrypt on /tmp/.truecrypt_aux_mnt1 type fuse.truecrypt >(rw,nosuid,nodev,allow_other) >/dev/mapper/truecrypt1 on /mnt/disk/ type ext4 (ro) > > >Now on pc2 I mount pc1:/mnt/disk through sshfs: >root#pc2:~# sshfs pc1:/mnt/disk/ /mnt/disk > >root#pc2:~# ls -hal /mnt/disk/somefolder >drwxr-xr-x 1 root root 4.0K Jul 13 08:03 ./ >drwxr-xr-x 1 root root 4.0K Jul 13 14:34 ../ >...more files > >I can cd perfectly in all the folders above, below and on the same >level as ../somefolder, but the numbers 3 and 24 are now gone. > >root#pc2:~# mount says >pc1:/mnt/disk/ on /mnt/disk type fuse.sshfs >(ro,nosuid,nodev,max_read=65536) root(a)peetoo:~# mount /home/mirror/ root(a)peetoo:~# ls -lah /home/mirror/ total 41K drwxr-xr-x 24 grant wheel 688 2010-05-25 12:57 ./ drwxr-xr-x 9 root root 216 2010-03-31 14:50 ../ .... Not what you're looking for, but nfs works fine here :) Grant.
From: LostInTheLoop on 14 Jul 2010 06:56 Grant, on 07/14/2010 11:30 AM, wrote: > root(a)peetoo:~# mount /home/mirror/ > root(a)peetoo:~# ls -lah /home/mirror/ > total 41K > drwxr-xr-x 24 grant wheel 688 2010-05-25 12:57 ./ > drwxr-xr-x 9 root root 216 2010-03-31 14:50 ../ > ... > > Not what you're looking for, but nfs works fine here :) But you're not using truecrypt or sshfs, right?
From: Simon Sibbez on 14 Jul 2010 14:00 LostInTheLoop wrote: > Grant, on 07/14/2010 11:30 AM, wrote: > >> root(a)peetoo:~# mount /home/mirror/ >> root(a)peetoo:~# ls -lah /home/mirror/ >> total 41K >> drwxr-xr-x 24 grant wheel 688 2010-05-25 12:57 ./ >> drwxr-xr-x 9 root root 216 2010-03-31 14:50 ../ >> ... >> >> Not what you're looking for, but nfs works fine here :) > > But you're not using truecrypt or sshfs, right? Nope, he's using a wheel.
From: Grant on 14 Jul 2010 20:27
On Wed, 14 Jul 2010 20:00:17 +0200, Simon Sibbez <simon.sibbez(a)buerotiger.de> wrote: >LostInTheLoop wrote: > >> Grant, on 07/14/2010 11:30 AM, wrote: >> >>> root(a)peetoo:~# mount /home/mirror/ >>> root(a)peetoo:~# ls -lah /home/mirror/ >>> total 41K >>> drwxr-xr-x 24 grant wheel 688 2010-05-25 12:57 ./ >>> drwxr-xr-x 9 root root 216 2010-03-31 14:50 ../ >>> ... >>> >>> Not what you're looking for, but nfs works fine here :) >> >> But you're not using truecrypt or sshfs, right? > >Nope, he's using a wheel. :o) Users in the wheel group have extra powers... Means I can mount /home/mirror as user, if appropriate. OP later states it's not truecrypt, thus it's filesystem, and we had nfs vs sshfs discussion here very recently. Grant. |