Perhaps you had some special attention?

Anyway: this has gone WAY off-topic, and the OP hasn't even responded since your first reply.
We should have our little discussions elsewhere...
You'll need to restrict access to those other folders. Long story, let's skip this for now...flimflam wrote:So how to set up my B3 to enable read/write to one specific folder dedicated to user "ABC" in the way he can not see all other folders ( i mean neither view nor write ).
Those are two questions in one. You should most definitely read this page for jailing users in their own home directory when using FTP. FTP can be tunnelled in SSH, but I think that may be too far fetched at this point. If you need secure transfer I suggest you use Bubba File Manager from HTTPS. And that is actually a really good idea as you may find that FTP can't be used from anywhere. There's no jailing users in this case though.For example I created user "ABC" ( webinterface ) and enabled FTP port forwarding in my router to B3. But with original configuration ( factory settings ) user "ABC" can see all content out of private folders of each other user (//home/username/private and mail ). That mean he can see everything i have stored in //home/storage. And i want to avoid this.
FTP is not encrypted and also this is question. How to share securely files.
Bubba album could do that I think (don't use it myself). Just click the link "Manual" in the B3 main web page for instructions on how to use it.Imagine that three families have been on vacation together and want to share photos, so how to in smart way enable it from my home to other two guys ?
Code: Select all
apt-get install acl
adduser test ( set some password ..)
vi /etc/fstab (add 'acl' for /home):
/dev/mapper/bubba-storage /home ext3 defaults,acl 0 2
mount -o remount /home
setfacl -m user:test:--- storage/*
setfacl -m user:test:r-x storage/video
setfacl -m user:test:r-x storage/music
setfacl -m user:test:rwx storage/upload
chmod -R o-w /home/storage/video/
chmod -R o-w /home/storage/music
add umask 0002 to .bashrc for user who create content
setfacl -m user:test:--- /home/*
setfacl -m user:test:rwx /home/test
setfacl -m user:test:r-x /home/storage
acl for /
mount -o remount /
setfacl -m user:test:r-x /
setfacl -m user:test:--- /*
setfacl -m user:test:r-x /home
( to be able to use scp)
chmod -R o-w /etc
setfacl -m user:test:r-x /bin
setfacl -m user:test:r-x /etc
setfacl -m user:test:r-x /usr