D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: vdpd2005 on October 13, 2010, 08:29:38 PM
-
I have fun-plug installed, activated ssh, created a folder and subdirectories for the web page directly under the volume_1 folder, and this is where I'm stuck. I'm supposed to put in an index.html file in the folder called "www" which is under volume_1. Thing is I can't drag and drop it in. I get a "you do not have permission to perform this action" message. I can't put anything into this directory or its subdirectories. I've tried to open my index.html file through notepad as an administrator and "save as" into the "www" directory...nothing. The only thing I can think of that I haven't tried is to use the ssh commands to copy the file in. The only coding I know is some basic DOS though, i don't know if the commands are the same here.
Anyone know what to do from here? I'm on a Windows 7 system
-
You need to move it in the putty terminal you have open using the mv command. I'm not a pro with linux but I believe since fun_plug is using that folder it needs administrative right? I'm just guessing, but try moving the folder using terminal commands.
-
you could also try adding:
chmod 777 www
(where www is your web folder located in your box, it could be /HD_a2/www, or /HD_a2/ffp/path_to_web_folder_www etc...)
add the chmod code in your fun_plug file - up top under the first 'echo' command
or near the bottom where it says #run commands
if that doesn't work, you will have to either ftp, ssh, telnet, putty, etc., into it :)
good luck!
-
If need to check who owns the folders you are trying to copy to. Most likely, those folders belong to root. Since you are not "root" on your Windows 7 machine, you're going to get a message saying that you don't have permission to copy to those folders.
SSH into your DNS-321 and navigate to the directory containing the www directory and type
ls-l | more
If the www folder is owned by root, you'll need to change it. To allow anyone to access the folder, type
chown -R nobody:501 www