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 2008-03-13 01:39:26

dastrix
Member
Registered: 2008-03-12
Posts: 18

instlled funplug, but cant ftp files to the funplug.d dir?

i am trying to extract some binaries for flac into this direct, but it tells me I have no access???

Anyone know?

Thanks

Offline

 

#2 2008-03-13 01:50:05

pof
Member
From: Barcelona
Registered: 2008-03-07
Posts: 28
Website

Re: instlled funplug, but cant ftp files to the funplug.d dir?

files are written in the filesystem as the user you are authenticated through the ftp server, while the fun_plug.d dir has 'root' ownership.
So, place the files in other location outside the fun_plug directory structure and move them from the shell, as root user via command line, and chown / chmod them after if needed.

Last edited by pof (2008-03-13 01:51:30)

Offline

 

#3 2008-03-13 01:51:57

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: instlled funplug, but cant ftp files to the funplug.d dir?

Can you give me a bit more detail about moving? when i telnet to my DNS is that automatically logging me in as root as it doesnt prompt me for credentials...

Wht chmod's do i need to do?

Thanks

Offline

 

#4 2008-03-13 02:02:23

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: instlled funplug, but cant ftp files to the funplug.d dir?

I also cant get out of the fun_plug.d folder to even extract the file

Offline

 

#5 2008-03-13 02:03:55

pof
Member
From: Barcelona
Registered: 2008-03-07
Posts: 28
Website

Re: instlled funplug, but cant ftp files to the funplug.d dir?

If your ftp user has upload permission in the root folder, you will see the files you put there in /mnt/HD_a2/. So when you telnet into the box you are automatically logged in as root. You can move the file like this:

# mv /mnt/HD_a2/myfile /mnt/HD_a2/fun_plug.d/bin/myfile

If you want to change the user and group ownership to root, you can do it like this:

# chown root:root /mnt/HD_a2/fun_plug.d/bin/myfile

Hope it helps :-)

Offline

 

#6 2008-03-13 02:13:57

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: instlled funplug, but cant ftp files to the funplug.d dir?

I've no idea what im doing wrong, but I copy the file via FTP which my user has root access into Volume_1

Then i 'ls' on the telnet client and I see nothing...


bin          etc          lib          proc         sys          var
default      home         lost+found   root         tmp          web
dev          image.cfs    mnt          sbin         usr          welcome.msg
/ #
/ # / # ls

Offline

 

#7 2008-03-13 02:35:57

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: instlled funplug, but cant ftp files to the funplug.d dir?

GOT IT! big_smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB