I am trying to set up a D-Link DNS-321 NAS for home use.
It has the following folders under root:
bigbird
shelelia
shared
public
There are currently three users: bigbird, shelelia, anonymous.
The permissions on the lan side set up fine, but ftp is eluding me.
What I want:
bigbird alone r/w /bigbird
shelelia alone r/w /sheleia
bigbird and shelelia can r/w /shared and /public
anonymous can read-only /public
The one to one (user level) stuff works fine. bigbird->/bigbird, shelelia->/shelelia, anonymous->/public
I figured it was Linux (or something very like it) under the hood (the drives are formatted as ext3).
So I thought I would create a group (sharedaccess) with bigbird and shelelia in it and give it r/w access to /shared and /public.
That doesn't work. It looks like a user can appear once in only one ftp access rule and a user can be in at most one group.
When I create a rule that gives sharedaccess r/w to /shared, the two rules bigbird->/bigbird and shelelia->/shelelia get deleted.
When I tried to create a second group (publicdata) with bigbird and shelelia in it, it worked, but removed bigbird and shelelia from the sharedaccess group.
ftp has to be a lot smarter than this, so either I don't understand how things are supposed to work or the ftp code in the DNS-321 has problems.
I haven't even tried to access the ftp server from the Internet yet, so this shouldn't have anything to do with port forwarding, firewalls, etc..
Any ideas would be appreciated.
Joe
kubuntu karmic Linux, DNS-321 firmware 1.03