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 2010-11-06 00:57:15

bound4h
Member
Registered: 2010-04-12
Posts: 209

stopping lighttpd.sh: Permission Denied

I've started and stopped lighttpd.sh in the /ffp/start/ with no problems before.  But now it's telling me Permission Denied:

root@zbackup:~# /ffp/start/lighttpd.sh stop
-sh: /ffp/start/lighttpd.sh: Permission denied

Here is ls -al of /ffp/start:

root@zbackup:/mnt/HD_a2/ffp/start# ls -al
drwxr-xr-x    2 root     root         4096 Oct 31 09:03 .
drwxr-xr-x   13 root     root         4096 Oct 30 07:03 ..
-rw-r--r--    1 root     root           52 Oct 25  2008 LOGIN.sh
-rw-r--r--    1 root     root           35 Oct 25  2008 SERVERS.sh
-rwxr-xr-x    1 root     root          201 Oct 28 20:42 authenticate_gmail.sh
-rwxr-xr-x    1 root     root         1673 Oct 27 09:16 editcron.sh
-rw-r--r--    1 root     root          203 Sep 29  2008 inetd.sh
-rw-r--r--    1 root     root          229 Apr 13  2009 kickwebs.sh
-rw-r--r--    1 root     root          223 Apr 13  2009 lighttpd.sh
-rwxr-xr-x    1 root     root           78 Oct 25 23:07 links.sh
-rw-r--r--    1 root     root          267 Apr 15  2008 mediatomb.sh
-rw-r--r--    1 root     root         1468 Apr 15  2008 nfsd.sh
-rw-r--r--    1 root     root          526 Mar  2  2009 ntpd.sh
-rw-r--r--    1 root     root          160 Apr 15  2008 portmap.sh
-rwxr-xr-x    1 root     root          224 Mar  3  2009 rsyncd.sh
-rwxr-xr-x    1 root     root          229 Aug 17 20:11 smartd.sh
-rwxr-xr-x    1 root     root          971 May 19  2009 sshd.sh
-rw-r--r--    1 root     root          383 Sep 29  2008 syslogd.sh
-rw-r--r--    1 bound4h  root          169 Sep 29  2008 telnetd.sh
-rwxr-xr-x    1 root     root          169 Oct 31 09:03 telnetd_root.sh
-rwxr-xr-x    1 root     root          767 Feb 20  2010 transmission.sh
-rw-r--r--    1 root     root          998 Feb 26  2009 unfsd.sh
root@zbackup:/mnt/HD_a2/ffp/start#

I'm logged in as root via SSH...what perms is it looking for?

Thanks

Offline

 

#2 2010-11-06 01:59:03

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: stopping lighttpd.sh: Permission Denied

chmod +x lighttpd.sh

It has lost its execute permission.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2010-11-06 02:30:29

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: stopping lighttpd.sh: Permission Denied

You're right, I noticed that a minute ago and came back to the thread but you beat me to it.  Thanks man

Offline

 

#4 2010-11-06 11:31:54

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: stopping lighttpd.sh: Permission Denied

or use "sh /ffp/start/lighttpd.sh stop"

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB