Use install for Fuse-2.9.7 to ensure that owner and group get updated as well as suid bit for fusermount.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18909 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2017-07-02 05:25:32 +00:00
parent f13c0e16ce
commit 12b2d1d6b8
4 changed files with 30 additions and 16 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "01"> <!-- Always 2 digits -->
<!ENTITY day "02"> <!-- Always 2 digits -->
<!ENTITY month "07"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "July 1st &year;">
<!ENTITY releasedate "July 2nd &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -42,6 +42,16 @@
</listitem>
-->
<listitem>
<para>July 2nd, 2017</para>
<itemizedlist>
<listitem>
<para>[dj] - Use install for Fuse-2.9.7 to ensure that owner and group
get updated as well as suid bit for fusermount.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 1st, 2017</para>
<itemizedlist>

View File

@ -138,19 +138,24 @@ make DESTDIR=$PWD/Dest install</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cp -v Dest/lib/*.so.* /lib &amp;&amp;
ln -sv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &amp;&amp;
ln -sv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &amp;&amp;
<screen role="root"><userinput>
install -vm755 Dest/lib/*.so.* /lib &amp;&amp;
ln -sfv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &amp;&amp;
ln -sfv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &amp;&amp;
cp -v Dest/lib/pkgconfig/* /usr/lib/pkgconfig &amp;&amp;
install -vm644 Dest/lib/pkgconfig/fuse.pc /usr/lib/pkgconfig &amp;&amp;
install -vm4755 Dest/bin/fusermount /bin &amp;&amp;
install -vm755 Dest/bin/ulockmgr_server /bin &amp;&amp;
install -vm755 Dest/sbin/mount.fuse /sbin &amp;&amp;
cp -v Dest/bin/* /bin &amp;&amp;
cp -v Dest/sbin/mount.fuse /sbin &amp;&amp;
install -vdm755 /usr/include/fuse &amp;&amp;
cp -v Dest/usr/include/*.h /usr/include &amp;&amp;
cp -v Dest/usr/include/fuse/*.h /usr/include/fuse/ &amp;&amp;
cp -v Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
install -vm644 Dest/usr/include/*.h /usr/include &amp;&amp;
install -vm644 Dest/usr/include/fuse/*.h /usr/include/fuse/ &amp;&amp;
install -vm644 Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
</sect2>

View File

@ -115,12 +115,11 @@ make</userinput></screen>
<para>
To mount an ssh server you need to be able to log into the server. For
example, to mount your home folder on the computer called THINGY on the
folder ~/MOUNTPATH (the directory must exist and you must have permissions
to write to it):
example, to mount your remote home folder to the local ~/MOUNTPATH (the
directory must exist and you must have permissions to write to it):
</para>
<screen><userinput>sshfs HOSTNAME:~ ~/MOUNTPATH</userinput></screen>
<screen><userinput>sshfs HOSTNAME:/home/user ~/MOUNTPATH</userinput></screen>
<para>
When you've finished work and want to unmount it again: