• February 23, 2025, 10:04:03 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: I'm so close to hosing a website from my 321...but  (Read 4459 times)

vdpd2005

  • Level 1 Member
  • *
  • Posts: 4
I'm so close to hosing a website from my 321...but
« 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
« Last Edit: October 13, 2010, 08:33:56 PM by vdpd2005 »
Logged

Ctibs

  • Level 1 Member
  • *
  • Posts: 8
Re: I'm so close to hosing a website from my 321...but
« Reply #1 on: October 21, 2010, 05:25:14 PM »

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.
Logged

emanoyhl

  • Level 2 Member
  • **
  • Posts: 26
Re: I'm so close to hosing a website from my 321...but
« Reply #2 on: December 02, 2010, 06:14:44 AM »

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!
Logged

AUaero

  • Level 1 Member
  • *
  • Posts: 1
Re: I'm so close to hosing a website from my 321...but
« Reply #3 on: December 03, 2010, 11:14:12 AM »

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
Logged