Newsgroup: it.comp.macintosh
Titolo: Re: Help FreeBSD - chflags


-- 
"I have a very simple life, I have my family and I have Apple and Pixar.
And I don't do much else." S. J.

Scusate ma non ho avuto risposte in altri forum e su google cercando
quel termine non trovo esempi di come far funzionare la cosa...
 Ho un server freebsd 4.qualcosa. Devo impedire la cancellazione di
alcuni file nella home di un mio utente il quale ha accesso al
contenuto via ftp.
Mi è stato detto di provare col comando "chflags".
Qualcuno mi può dire come si usa? ...chi ha installato il nostro
server si è scordato di installare le man pages mi pare...
man ls
No manual entry for ls
Grazie mille 
-- 
La rovina del mondo sarà l'indifferenza...
...ma chi se fregaaaa!!  :D

 manpath -d
found mandatory man directory /usr/share/man
found mandatory man directory /usr/share/perl/man
found mandatory man directory /usr/share/openssl/man
found optional man directory /usr/local/man
found optional man directory /usr/X11R6/man
found manpath map /bin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found optional man directory /usr/local/lib/perl5/5.6.1/man
path directory /sbin is not in the config file
and doesn't have man or MAN subdirectories
path directory /usr/sbin is not in the config file
and doesn't have man or MAN subdirectories
path directory /bin is in the config file
adding /usr/share/man to manpath
path directory /usr/bin is in the config file
/usr/share/man is already in the manpath
path directory /usr/local/sbin is not in the config file
and doesn't have man or MAN subdirectories
path directory /usr/local/bin is in the config file
adding /usr/local/man to manpath
path directory /usr/X11R6/bin is in the config file
Warning: couldn't stat file /usr/X11R6/man!
adding mandatory man directories
/usr/share/man is already in the manpath
adding /usr/share/perl/man to manpath
adding /usr/share/openssl/man to manpath
/usr/local/man is already in the manpath
adding /usr/local/lib/perl5/5.6.1/man to manpath
/usr/share/man:/usr/local/man:/usr/share/perl/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.6.1/man


 man?
Se fai
echo $MANPATH
che esce fuori? Dentro /usr/share/man/man1/ cosa c'č?


 Dentro /usr/share/man/man1/ cosa c'è?
-r--r--r--   2 root  wheel   7026 May 25  2004 ed.1.gz
-r--r--r--   2 root  wheel   7026 May 25  2004 red.1.gz
-r--r--r--   1 root  wheel   4498 May 25  2004 bdes.1.gz
-r--r--r--   1 root  wheel   9361 May 25  2004 telnet.1.gz
-r--r--r--   1 root  wheel   1485 May 25  2004 scp.1.gz
-r--r--r--   1 root  wheel   2964 May 25  2004 sftp.1.gz
-r--r--r--   2 root  wheel  10383 May 25  2004 ssh.1.gz
-r--r--r--   2 root  wheel  10383 May 25  2004 slogin.1.gz
-r--r--r--   1 root  wheel   2342 May 25  2004 ssh-add.1.gz
-r--r--r--   1 root  wheel   2782 May 25  2004 ssh-agent.1.gz
-r--r--r--   1 root  wheel   3504 May 25  2004 ssh-keygen.1.gz
-r--r--r--   1 root  wheel   1837 May 25  2004 ssh-keyscan.1.gz
-r--r--r--   1 root  wheel  21426 May 25  2004 tcpdump.1.gz
-r--r--r--   1 root  wheel   1337 May 25  2004 mailq.1.gz
-r--r--r--   1 root  wheel    677 May 25  2004 newaliases.1.gz


 Niente! un righa vuota...
Scrivi questo all'interno del file ~/.login (se non esiste, crealo):
setenv MANPATH
${MANPATH}:/usr/local/share/man:/usr/share/man:/usr/local/man:/usr/share
/perl/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.6.1/man
(tutto su una riga). 
