D-Link Forums
		The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: wayd on August 05, 2010, 02:12:29 PM
		
			
			- 
				Hello All,
 I have a DNS-321 and I have had so many issues with folder permissions I am about to throw this thing out the window.  It seems like every other day a variety of my folders are locked out to me, while others are available.  Whenever I change anything in the configuration, I get locked out. I hate it.
 
 Are there any alternatives to the standard firmware? I had read about fun_plug, and I seem to have a general understanding of it, but all I am interested in fixing my permissions... Is there a fun_plug feature that over-rides permissions? I would even settle for NO restricted permissions, but I can't even get that to work out.  Any and all advice is welcome, thank you!
- 
				Reset to factory defaults, you'll have no permissions anywhere, it'll be wide open.
 
- 
				Yeah, but even when I do that, all of the folders I created when I DID have permissions are still locked to me! I don't know if this is a Mac thing or a DNS-321 thing, but I am pretty sure its a DNS thing because when i structure my Network Users and Permissions back to what they were when i created the folder, they unlock to me. Its really getting old.
			
- 
				This may be a case where you'll have to install fun_plug and use Linux to set the permissions on the whole folder tree.
			
- 
				I don't have a Linux system...
			
- 
				I don't have a Linux system... Sure you do, it's called the DNS-321. :)
- 
				ha-ha, I never thought of it that way.
 
 So my primary computer is a Macbook Pro running the latest OS. Does that matter when using fun_plug?
 
 You're saying that I can use fun_plug and modify each folder's access rights?
 
 Are there not different versions of "fun_plug", which do different things?  Can someone please tell me where to get the version I am looking for to do this?
 
 Thanks for the help guys. I just wish there was better technical support/development for this product so we didn't have these problems... I can tell you one thing, this will be the last D-Link product I buy for quite some time.
- 
				fun_plug is independent of what you run on your machine.
 
 Here's the installation instructions, all you need is in the basic package: http://wiki.dns323.info/howto:ffp (http://wiki.dns323.info/howto:ffp)
- 
				I can't make any sense out of the DNS web interface permissions screen.
 
 Using fun_plug to enable ssh access to the DNS is a pretty cool deal.  I log into the DNS and can set read only permissions on files and directories.  Then these files/directories are really read only... can't overwrite them or delete them from the regular network interface.
 
 (And I realize that this is not a substitute for a real backup, even on my raid-1 setup.)
 
 
 
 
 
 
- 
				I can't get this to load... I put "fun_plug" and "fun_plug.tgz" in volume 1 and reboot... nothing happens...
			
- 
				Remove them, reboot, then try downloading a new copy.  Do not edit or modify either file with Windows, just copy them to the root of Volume_1
			
- 
				Thanks! Ok, so I believe they are loaded there now. But I cannot use "Putty" with my Mac, and the instructions for setting up the SSH are for using Windows and Putty. Does anyone have instructions for Macs?
			
- 
				I'm at a loss here.  Other than getting into Telnet for the first time, what is Windows dependent?  You don't have to use SSH if that's a problem, you can just continue to use Telnet.
			
- 
				The instructions I have to getting into Telnet are for a Window's program called "Putty". How do I get into Telnet with a Mac?
			
- 
				Ok, so I figured out how to do it on Terminal... I need to enter "telnet [ip] [port]" and the default port for telnet is 23. but I am not connecting... Do I use the DNS-321 ip address and port 23? How do I confirm both of these numbers?
 
 Thank you!
- 
				Oh snap, I think I did it... Is this where I want to be to begin setting my network folder permissions?
 
 
 220---------- Welcome to Pure-FTPd [TLS] ----------
 220-You are user number 1 of 2 allowed.
 220-Local time is now 17:16. Server port: xxxx.
 220-This server supports FXP transfers
 220 You will be disconnected after 2 minutes of inactivity.
 
 
 
 If I have managed to get into this Telnet server... Can someone please define for me what process I am looking for to set folder permissions? Is it the SSH that I need to modify to do this? I am a noob at this, sorry.
- 
				http://www.wikihow.com/Use-Telnet-on-Mac-OS-X
			
- 
				Additionally... This only works when my FTP server is up... it appears as tho I am connecting through the FTP... is that right? I don't think I am getting into TelNet server for fun_plug... I think I am just logging into the FTP...
 
 What is the fool-proof way of knowing that fun_plug is actually installed??
- 
				If you can telnet into the box, ffp is running.
			
- 
				If you can telnet into the box, ffp is running.
 
 
 And was what I posted above doing this?
- 
				Are you using a telnet client to connect?  Are you getting the Linux command prompt?  Clearly, you don't use FTP to connect to the box, but I have no idea how FTP comes into the picture.
			
- 
				I got it! I needed to use Volume_2 for some reason... Ok, so is SSH what I need to use to setup folder permissions?
 
- 
				Well I have successfully gotten Fun_Plug, Telnet and SSH up and running... 
 
 Thank you gunrunner for your help!
- 
				Glad it all worked out.  You had me confused for a bit there. :D
 
- 
				you can use SCP for mac - on terminal - it's already built in
 
 just google SCP for commands
 
 :)
- 
				Of course, since he already has it working...
			
- 
				Ok, So I have Telnet and SSH running, and I have finally trouble shooted through what was causing my FTP to not work, so thats up now.
 
 My next goal is to change my FTP permissions like I did with SSH.  When I use the DNS-321 firmware, I apparently can only give a user 1 folder access... I have 6 main folders, I want to give 1 user access to only 3 of the 6... apparently something so easy cannot be done on the firmware, I have only limit a user to 1 folder and thats it.
 
 So, how do I go about setting up FTP permissions like SSH?  I apparently have Pure-FTPd, because I can log into it, but once I log in, I can't do anything... and in the ffp folder, I cannot find anything (including config files) which relate to Pure-FTPd... Do I use SSH to designate FTP access, or do I use Pure-FTPd, and if so, how?  Can someone please shed some light?
 
 Thank you.
- 
				The only way I found to deal with FTP was to put all the stuff I wanted to have available for FTP in a single folder.
 
- 
				I am having similar issues with my folder permissions. My main folder that holds my subfolders (movies, music, photos etc) is read only thus I cannot modify, add or delete any files. I have factory reset the DNS twice with no change. I have loaded the fun_plug program on the the Volume_1 root and can telnet into the drive. Can anyone help point me in the direction on how I can change the parameters of the folders from read only to read/write. I have very limited exp in linux.
 
 Thnx
- 
				Well, symbolic links have been suggested, though I haven't tried it yet.  It should work, basically you create a symbolic link to each folder you want to be available, and put all the links into a folder that you allow the FTP from.
 
 Naturally, this assumes you have access to Linux through fun_plug to access the system at that level.
 
- 
				So after 4 hours, 3 cups of coffee and a lot of copy and pasting, I'M FINALLY IN! All I have to figure out now is how to actually change the file/folder permissions while inside the OpenSSH app. Any Linux programmers in the house?!?!