We have a use case where we would want to have two subdirectories under the
user home directory incoming and outgoing. Each of them would have a
hierarchical path.
However, we want:
User have read-only permissions for the outgoing directory and its children.
User have read-write permissions
The answer to any question like this is to customise the Filesystem classes
to do what you want.
I've attached some Java files (not warrantied for any particular purpose)
for DelegatingFilesystem -- you can use one of these as the top of your
filesystem hierarchy, with real, separately
It looks like the mailing list strips attachments. Here's the source,
pasted in:
Unfortunately there are some imports that I can't provide you, but you
should be able to knock up a substitute.
-
package com.example.apachesftp.filesystem.delegating;
import
That's great. All I was looking for was a way to approach the problem . You've
provided even more
Thank you very much,
Genti
-Original Message-
From: John Hartnup [mailto:john.hart...@gmail.com]
Sent: Wednesday, October 16, 2013 10:28 AM
To: ftpserver-users@mina.apache.org
Subject: