On 05-05-2012 07:06, Andrew Benton wrote:
> On Sat, 05 May 2012 01:58:11 +0100
> Bruce Dubbs <[email protected]> wrote:

[...]

> The config file, /etc/fuse.conf is another issue. It mentions is in the
> README file in the Fuse source. I've never needed to
> create /etc/fuse.conf so I didn't mention it on the Fuse page.

/etc/fuse.conf can be useful.

$ cat /etc/fuse.conf
user_allow_other

$ ls -l /etc/fuse.conf
-rw-r--r-- 1 root root 17 Mar 18 11:06 /etc/fuse.conf

With these permissions (0644), sshfs can mount as "myuser" and access as "root" 
is granted:

Example:

sshfs -o default_permissions -o allow_root 
<???.???.???.???>:$HOME/MyDownloadFiles/Sistema/Linux/lfs/sources6.8 $HOME/sshfs

where <???.???.???.???> is to be replaced by the actual ip of the server.

Have no idea how vulnerable I am nor if anything can be done about if so.

In *buntu:

$ cat /etc/fuse.conf
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
user_allow_other

$ ls -l /etc/fuse.conf
-rw-r--r-- 1 root fuse 216 2011-12-31 08:55 /etc/fuse.conf

Originally:

1. "user_allow_other" was commented

2. permissions were 0640 or 0600, can't remember, and command above could not 
be used, as "others" and "other-groups" had no access permission.

> My feeling is that the Fuse page is Ok for now. If there are use cases
> that require the bootscript or config file hopefully someone will
> mention them on one of the mail lists and we can improve the page then.
>
> Andy

i do not use bootscript for it.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to