mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
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:
parent
f13c0e16ce
commit
12b2d1d6b8
@ -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 -->
|
||||
|
@ -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>
|
||||
|
@ -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 &&
|
||||
ln -sv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &&
|
||||
ln -sv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &&
|
||||
<screen role="root"><userinput>
|
||||
install -vm755 Dest/lib/*.so.* /lib &&
|
||||
ln -sfv ../../lib/libfuse.so.2 /usr/lib/libfuse.so &&
|
||||
ln -sfv ../../lib/libulockmgr.so.1 /usr/lib/libulockmgr.so &&
|
||||
|
||||
cp -v Dest/lib/pkgconfig/* /usr/lib/pkgconfig &&
|
||||
install -vm644 Dest/lib/pkgconfig/fuse.pc /usr/lib/pkgconfig &&
|
||||
|
||||
cp -v Dest/bin/* /bin &&
|
||||
cp -v Dest/sbin/mount.fuse /sbin &&
|
||||
install -vdm755 /usr/include/fuse &&
|
||||
cp -v Dest/usr/include/*.h /usr/include &&
|
||||
cp -v Dest/usr/include/fuse/*.h /usr/include/fuse/ &&
|
||||
install -vm4755 Dest/bin/fusermount /bin &&
|
||||
install -vm755 Dest/bin/ulockmgr_server /bin &&
|
||||
|
||||
cp -v Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
|
||||
install -vm755 Dest/sbin/mount.fuse /sbin &&
|
||||
|
||||
install -vdm755 /usr/include/fuse &&
|
||||
|
||||
install -vm644 Dest/usr/include/*.h /usr/include &&
|
||||
install -vm644 Dest/usr/include/fuse/*.h /usr/include/fuse/ &&
|
||||
|
||||
install -vm644 Dest/usr/share/man/man1/* /usr/share/man/man1</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user