Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Permission denied
http://forum.freesco.pl/viewtopic.php?f=35&t=4088
Strona 1 z 1

Autor:  Anonymous [ sobota, 3 kwietnia 2004, 15:30 ]
Tytuł:  Permission denied

Co oznacza dokładnie (znaczenie słów znam) ten wpis?
: [/] [] ()
Enabling NAT and firewalling... /rc/rc_masq: /rc/rc_user: Permission denied

Pojawia się on podczas startu Freesco i za sprawą tego wpisu w rc_user
: [/] [] ()
thttpd -p 90 -u nobody -d /wwz -l /dev/null

który to powinien odblokowac port 90. To tak apropo tablicy ogłoszeń bo wciąż mam z nią problem. Nie działa :?
thx

Autor:  Maciek [ sobota, 3 kwietnia 2004, 23:05 ]
Tytuł: 

Nie edytowałeś pliku rc_user korzystając z Windowsa?

Autor:  Anonymous [ niedziela, 4 kwietnia 2004, 09:23 ]
Tytuł: 

Czy edycja pliku przez konsole telnetową wprowadza jakieś nieporządane zmiany? Bo tak to robiłem.

Autor:  lamer [ niedziela, 4 kwietnia 2004, 10:12 ]
Tytuł: 

Coś nakaszaniłeś w rc_user bez dwóch zdań... Albo masz złe prawa do tego pliku albo coś w treści namieszane. Zassaj go z instalki freesco i jeszcze raz wprowadź zmiany.

Autor:  Anonymous [ niedziela, 4 kwietnia 2004, 13:50 ]
Tytuł: 

Plik rc_user we Freesco 0.3.2 wygląda tak:

Wstawiona przeze mnie linijka jest wskazana(<-----)

: [/] [] ()
#!/bin/sh
#
# User's part of start up script
# You may add your command here, see descriptions below
. /etc/system.cfg
. /etc/colors
. /etc/music.cfg
case "$1" in   
boot)   # Add hardware/software initialization here.      
# This part is called once when linux is already running      
# but router is not started yet.      
;;
   
start)   echo -n "Starting rc_user..."

thttpd -p 86 -u nobody -d /wwz -l /dev/null  <---------------------
      
# Add commands here you want to execute when starting      
# the router.   
# Use the fork command to launch programs which normally stay      
# in the foreground.      
# This part is called after all rc_* files.      
=      
;;
stop)   echo -n "Stopping rc_user..."      
# Add commands here you want to execute when restarting,
# shutting down or rebooting.      
# Be careful not to use any commands which wait for user input.      
# This part is called before all rc_* files.      
=      
;;   
restart)
      
# The next sequence is usually enough.      
rc_user stop; rc_user start      
;;   
firewall)      
# Add your custom firewall rules here.      
# Warning, incorrect rules could leave your system insecure.      
# $INET always represents the Internet interface. But only when       
# this script is called from the rc_masq file.      
# These rules come before standard system rules.      
# Example:      
# reject incomming tcp connections to port 22 from the      
# internet and log them      
# ipfwadm -I -a deny -P tcp -W $INET -D 0.0.0.0/0 22 -y -o      
;;   
newip)   
# This part is called when router got new IP address from
      
# ISP's DHCP server.      
# The next sequence is usually enough.      
# rc_user stop; rc_user start      
;;   
status)   
# Add commands that print out your service(s) status.      
;;
esac

Czy w tym jest jakiś błąd?

Autor:  Maciek [ niedziela, 4 kwietnia 2004, 22:23 ]
Tytuł: 

Następnym razem pisz na właściwym forum. Szybciej otrzymasz odpowiedź.

Autor:  Anonymous [ poniedziałek, 5 kwietnia 2004, 08:15 ]
Tytuł: 

bałwan jestem nie wymieniłem versji freesco temat byl na właściwym forum :D
Sorki.

Autor:  Maciek [ poniedziałek, 5 kwietnia 2004, 09:32 ]
Tytuł: 

Nie - nie był. Plik ten we Freesco 0.2.7 jest inny i problemy też są inne. Dlatego dotąd nie dostałeś prawidłowej odpowiedzi. Jeśli zrobiłeś to celowo, to wiedz, że tak naprawdę to straciłeś na tym.
Cytuj:
start) echo -n "Starting rc_user..."

thttpd -p 86 -u nobody -d /wwz -l /dev/null <---------------------

# Add commands here you want to execute when starting
# the router.
# Use the fork command to launch programs which normally stay
# in the foreground.
# This part is called after all rc_* files.
=
;;

Moim zdaniem w tej części jest błąd. Cokolwiek zamierzarsz dodać - powinno być po "Add commands here". Poza tym nie znam składni tego pliku, więc nie wiem czy znak "=" powinien tam być - czy nie.

Autor:  Anonymous [ wtorek, 6 kwietnia 2004, 08:42 ]
Tytuł: 

Sądziłem że wiersze rozpoczynające się od znaku # nie mają żadnego znaczenia i są traktowane jako komentaż.
Więc czy linijka jest pod
: [/] [] ()
# Add commands here you want to execute when starting

czy nad to raczej nie ma lub nie powinno mieć znaczenia. Jeśli źle piszę to niech mnie ktoś naprostuje bo nieznam się na linuxach zbytnio :roll:
A znaku = to nie dostawiałem jeśli o to chodzi. On już tam był
Dzięks.

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/