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 2009-11-13 20:25:04

fuelvolts
New member
Registered: 2009-11-13
Posts: 2

Can't copy files to /mnt/HD_a2/www - permissions?

Long time lurker, first time poster.

Looks like I don't have permissions right.  I followed everything to the wire on the tutorials.  Got Lighttpd with PHP installed and running.  I can access http://<MY DNS>:8080 and see a parent directory showing nothing listed.

My problem is that when I try to copy files via SMB or FTP, Widows/FileZilla says that I don't have the right permissions.

How can I remedy this?  Thanks!

DNS-321 w 1.03 FW

Offline

 

#2 2009-11-13 20:51:36

fuelvolts
New member
Registered: 2009-11-13
Posts: 2

Re: Can't copy files to /mnt/HD_a2/www - permissions?

FIXED
I had created the /www directory via SSH logged in as root (as per the tutorial).  This made it such that only root could change files.  BAD BAD BAD tutorial!

To remedy, I SSH'd into my NAS, logged in as root, then executed these commands:
cd /mnt/HD_a2/www/logs
rm access.log
rm error.log
cd ..
rmdir logs
rmdir pages
cd ..
rmdir www

I then logged into my DNS-321 via FTP (stock DLink FTP program) and created a www directory in Volume_1 and created logs and pages subdirectories in www.  Works perfectly now.

Last edited by fuelvolts (2009-11-13 20:53:26)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB