• February 23, 2025, 02:13:40 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Configuring FTP for several shares  (Read 3068 times)

josephj

  • Level 1 Member
  • *
  • Posts: 1
Configuring FTP for several shares
« on: January 24, 2011, 04:02:55 PM »

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

Logged
DNS-321 1.03 A3
kubuntu karmic

D-Link Multimedia

  • Poweruser
  • Level 7 Member
  • **
  • Posts: 1066
    • D-link Systems, Inc.
Re: Configuring FTP for several shares
« Reply #1 on: January 24, 2011, 05:05:21 PM »

Put Public and Shared under a subdirectory like "Shares" so that you can assign the subdirectory "Public" to anonymous and then the top level folder "Shares" (which includes Shared and Public) to bigbird and shelelia. It creates another level of folders Shared/Public however that should be a small price to pay to have it working.
Logged