ssfs diff README @ rev 21
README: update info about a web interface
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 12 01:34:42 2011 +0200 (2011-06-12) |
parents | 02ab6ce37eb0 |
children | 6034fcc9741c |
line diff
1.1 --- a/README Sat Jun 11 23:58:39 2011 +0200 1.2 +++ b/README Sun Jun 12 01:34:42 2011 +0200 1.3 @@ -77,7 +77,12 @@ 1.4 GUI & Web interface 1.5 ------------------- 1.6 Actually there is a small GTK/Yad but no web interface. The tool ssfs-box will 1.7 -display info if a configuration file exists or start the setup box. 1.8 +display info if a configuration file exists or start the setup box. Ther is no 1.9 +plan for a users files web interface since security if more important, actually 1.10 +user home have 0700 mode as so standard web server running user www can't see 1.11 +the files. We may implemnt a HTTP Public dir wich coul handle xHTML pages, a 1.12 +wiki, etc. Actually they is some work on a Ssfs server web interface with the 1.13 +goal to provide service status an information. 1.14 1.15 1.16 Get configs on boot 1.17 @@ -126,7 +131,7 @@ 1.18 or use a separate HD if the server have more than one disk. To create 2Gb 1.19 vdisk and format it to ext3: 1.20 1.21 -# dd if=/dev/zero of=/home/ssfs.ext3 bs=1G count=2 1.22 +# dd if=/dev/zero of=/home/ssfs.disk bs=1G count=2 1.23 # mkfs.ext3 -T ext3 -L "Ssfs" -F /home/ssfs.ext3 1.24 1.25 Now you have a virtual disk you can mount it, the path must match SSFS_CHROOT 1.26 @@ -134,13 +139,13 @@ 1.27 the filesystem from the standard host file hierarchy: 1.28 1.29 # mkdir /ssfs 1.30 -# mount -o loop -t ext3 /home/ssfs.ext3 /ssfs 1.31 +# mount -o loop -t ext3 /home/ssfs.disk /ssfs 1.32 1.33 To automaticaly mount the vdisk on boot you may want to add a ssfs system user 1.34 and a line into the file /etc/fstab: 1.35 1.36 # adduser -S -g "Ssfs Server" -h /ssfs -s /bin/false ssfs 1.37 -/home/ssfs.ext3 /ssfs ext3 rw,loop,ssfs,ssfs 0 0 1.38 +/home/ssfs.disk /ssfs ext3 rw,loop,ssfs,ssfs 0 0 1.39 1.40 1.41 Server users config