On Sat, Nov 6, 2010 at 3:15 PM, Stuart Henderson <s...@spacehopper.org>wrote:
> On 2010/11/06 14:12, Bahador NazariFard wrote: > > Hi > > > > I am using OpenBSD operating system. > > > > I think there is a problem in* /etc/netstart* on Line 44: *set -A stat -- > > `ls -nL $file`* > > I think we should change this line to *set -A stat -- `ls -nl $file`* > > > > Before fixing this problems always netstart prints "*WARNING: $file is > > insecure, fixing permissions*" > > netstart deliberately only looks at the target of a symlink for > these files (both when we check and when we chmod/chown. > ls -nl is pointless and ambiguous, -n means "long output with > numeric values for uid/gid" and -l means "long output with > names for uid/gid". > > What are the permissions on your /etc/hostname.* files? > Are you doing anything strange with flags? > (check with ls -lo or something). > > Thank you for your very soon reply Excuse me you are right. I had installed gnuls-4.1p2 (colorized GNU 'ls') and I had defined alias*ls='gls --color=tty' *. unfortunately it seems *gls -n* does not work properly and it was the reason of that problem. thank you again for your response best regards,