Version: 0.1
Like you can see here I have a ftp server by using Pure-FTPd.
I'm using a lot of folders which should be binded in every user directory.
To manage this work fast I wrote some bash scripts working together.
At the moment this script bundle only support partitions which are unencrypted or encrypted with cryptsetup and Pure-FTPd.
It can handle many different directories, devices and users.
ftp-automount_v0.1.tar.gz
Usage:
save the scripts in a directory, all should be executable
change into directory where the scripts are situated
start configuration by using: ./all configure
answer the questions correctly, there is no error detection at the moment
to start the process type: ./all start
to stop just type: ./all stop
The script will start Pure-FTPd per init.d-script but if you take a look into pureftp script you'll see an example for starting without init.d.
Plans:
Version history:
v0.1:
set configuration file
decrypt/encrypt and mount/unmount cryptsetup encrypted partitions
mount/umount directories into user home as read-only bindings
supports unlimited amount of partitions and bindings
configuring each partition/binding on its own (e.g. 1. encrypted, 2. not encrypted)
create mountpoint of bindings if allowed in config-file