Topic: HideNoAccess and ACLs

Hi,
why cannot be used toghether.
I would need exactly that: to check full acl permission and to show directories based on that.

Bye & thanks,
Tarch.

Re: HideNoAccess and ACLs

Hi,

This feature is not planned yet for MySecureShell...

Maybe in the future smile

3 (edited by Tarch 2010-09-28 15:31:04)

Re: HideNoAccess and ACLs

Hi,
Thank you very much.

Bye,
Tarch.

Re: HideNoAccess and ACLs

So I would ! This option really makes sense to me; too bad it's not working with ACLs yet. Hope this is not planed to far away in the future...

Re: HideNoAccess and ACLs

Tarch,
Don't know if it is usefull to you, here's the workaround I found that does the trick for me:

I create an entry in the sftp_config file for each user like this:

<User sftpusr_user1>
Home /data/sftp/home/user1
StayAtHome true
VirtualChroot false
ShowLinksAsLinks false
</User>
<User sftpusr_user2>
Home /data/sftp/home/user2
StayAtHome true
VirtualChroot false
ShowLinksAsLinks false
</User>

Then I create links in their "virtual home dir" so that they each can see directories they need to access (and only these).
Here user1 and user2 share project1 but I don't want user1 to see projects user2 is working on (or any other project they're not concern):

cd /data/sftp/home/user1
ln -s ../../project1/users project1
ln -s ../../project1/users project3

cd /data/sftp/home/user2
ln -s ../../project1/users project1
ln -s ../../project1/users project2

Asuming ACLs are correctly set on all directories. First tests seem to show that users are not able to jump elsewhere they are not allowed to and can browse anywhere they are allowed, without seeing what do not concern them. Goog for me, that's exactly what I wanted  smile .