To: ftpserver-users@mina.apache.org
Subject: RE: directory structure permissions account locking
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
-users@mina.apache.org
Subject: Re: directory structure permissions account locking
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
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
the interfaces you suggest. I did not get any
attached files though.
Genti
From: John Hartnup [mailto:john.hart...@gmail.com]
Sent: Wednesday, October 16, 2013 9:58 AM
To: ftpserver-users@mina.apache.org
Subject: Re: directory structure permissions account locking
The answer to any question like
: Re: directory structure permissions account locking
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