Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2015 16:29:47 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: sftp, syslog level, chrooted users in a jail
Message-ID:  <56747ACB.40502@sentex.net>
In-Reply-To: <5671882E.3040509@sentex.net>
References:  <5671882E.3040509@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/16/2015 10:50 AM, Mike Tancsa wrote:
> 
> In the dev directory, if I make
> # ls -l /home/test1sftp/dev/
> total 2
> drwxrwxr-x  2 root  wheel  uarch 4 Dec 16 10:37 .
> drwxr-xr-x  5 root  wheel  uarch 5 Dec 16 10:04 ..
> srw-rw-rw-  2 root  wheel  uarch 0 Dec 16 10:05 log
> srw-------  2 root  wheel  uarch 0 Dec 16 10:05 logpriv
> 
> 
> 
> ln /var/run/logpriv logpriv
> ln /var/run/log log
> 
> I can get it to work.

OK, next problem. If syslogd stops and is restarted, the hardlinks to
/var/run/log go away. I have to delete the links I created and recreate
them.  Symlinks dont work.  Any other way around this ?

	---Mike




-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56747ACB.40502>