DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-07-27 19:29:13

saltisol
Member
Registered: 2007-07-22
Posts: 22

ftpd: Different rules for different directories on DNS-323?

What I would like to do is to provide access to one large directory with music, movies etc for download. All ftp users should have read-only access to this dir to prevent an accident from happening. On top of this, I would also like to have an upload directory where everyone has read-write access so that all users can upload files to the server.

that is:
read-only: /mnt/HD_a2/ftp/music, /mnt/HD_a2/ftp/movies
read-write /mnt/HD_a2/upload

Using the GUI, it seems like I can only create one rule per user or group and not add one read-only and one read-write for the same group/user...

have I misunderstood something or can this be done via the command line/ftpaccess...?

(fonz fun_plug 0.3, fw 1.03 installed)

Offline

 

#2 2007-07-28 06:24:58

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

Re: ftpd: Different rules for different directories on DNS-323?

Your understanding is correct smile 1.03 doesn't support multiple folder access per user.... Hope something will be done about it in 1.04....

Offline

 

#3 2007-07-28 15:53:23

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: ftpd: Different rules for different directories on DNS-323?

If you don't mind using telnet or SSH, you can always use CHMOD to change permissions manually wink

Ie.

chmod  -R 0755 /mnt/HD_a2/ftp/music
chmod  -R 0755  /mnt/HD_a2/ftp/movies
chmod  -R 0777  /mnt/HD_a2/upload

Last edited by MiK (2007-07-28 16:00:10)

Offline

 

#4 2007-11-22 13:47:40

pwvandeursen
Member
Registered: 2007-07-04
Posts: 112

Re: ftpd: Different rules for different directories on DNS-323?

does anybody know if this has been taken care of in the 1.04 beta?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB