lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 5 Jan 2013 01:35:10 -0800
From:	Shentino <shentino@...il.com>
To:	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
Cc:	Tero Roponen <tero.roponen@...il.com>,
	Martin Steigerwald <Martin@...htvoll.de>,
	linux-kernel@...r.kernel.org, Daniel Phillips <lkml@...nq.net>
Subject: Re: Tux3 report: New news for the new year

Great to see you guys wroking on this.

I can almost taste tux3 on my desktop.

On Fri, Jan 4, 2013 at 2:04 AM, OGAWA Hirofumi
<hirofumi@...l.parknet.co.jp> wrote:
> Tero Roponen <tero.roponen@...il.com> writes:
>
>>> martin@...kaba:~[…]> sudo ./tux3fuse tux3.img /mnt/zeit
>>> [sudo] password for martin:
>>>
>>> martin@...kaba:~[…]> mount | grep fuse
>>> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
>>> tux3.img on /mnt/zeit type fuse.tux3.img (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
>>>
>>>
>>>
>>> But I am stuck with accessing it:
>>>
>>> martin@...kaba:~[…]> LANG=C ls -l /mnt/zeit
>>> ls: cannot access /mnt/zeit: Permission denied
>>>
>>> martin@...kaba:~[…]> LANG=C sudo chown martin:martin /mnt/zeit
>>> chown: cannot access '/mnt/zeit': Transport endpoint is not connected
>>> martin@...kaba:~[…]> LANG=C sudo ls -l /mnt/zeit
>>> ls: cannot access /mnt/zeit: Transport endpoint is not connected
>>> martin@...kaba:~[…]>
>>
>> Hi,
>>
>> I have not looked at Tux3 for a long time, but there seems to be
>> a simple fix for at least this problem, and two workarounds:
>>
>> 1) Run the program in foreground (-f):
>>
>>    sudo ./tux3fuse tux3.img /mnt/zeit -f
>>
>> 2) Use absolute path for image file:
>>
>>    sudo ./tux3fuse $(pwd)/tux3.img /mnt/zeit
>>
>> The following patch should hopefully fix this for good.
>
> Thanks for report, Martin. Thanks for fixing, Tero.
>
> Applied with free() for make valgrind happy to temp-atomic-commit branch
> (will be merged to master soon).
>
> Thanks!
>
>> commit efc0cf49f6dd00dfbb84e88336d2c5d147a09ed0
>> Author: Tero Roponen <tero.roponen@...il.com>
>> Date:   Wed Jan 2 11:20:46 2013 +0200
>>
>>     Use absolute path for volume name
>>
>>     If fuse_daemonize() puts us into background it also switches our
>>     working directory to '/', breaking the use of relative paths.
>>
>>     This patch fixes the problem by converting the relative path to
>>     an absolute one.
>>
>>     Signed-off-by: Tero Roponen <tero.roponen@...il.com>
>>
>> diff --git a/user/tux3fuse.c b/user/tux3fuse.c
>> index 6401204..5047cab 100644
>> --- a/user/tux3fuse.c
>> +++ b/user/tux3fuse.c
>> @@ -993,7 +993,7 @@ int main(int argc, char *argv[])
>>               goto error;
>>
>>       struct tux3fuse tux3fuse = {
>> -             .volname = argv[1],
>> +             .volname = canonicalize_file_name(argv[1]),
>>       };
>>       fs = fuse_lowlevel_new(&args, &tux3_ops, sizeof(tux3_ops), &tux3fuse);
>>       if (fs) {
>
> --
> OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ