Date: Tue, 13 May 1997 13:26:31 +0200 (MET DST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org (FreeBSD questions) Cc: un_x@anchorage.net Subject: Re: permissions Message-ID: <199705131126.NAA00310@CoDe.hu> In-Reply-To: <Pine.BSF.3.95q.970513025837.1034A-100000@aak.anchorage.net> from Steve Howe at "May 13, 97 03:02:35 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sun, 4 May 1997, Steve Howe wrote: > > regarding root being able to write r-- r-- r-- (owner root) files, > i don't see "chflags", or "ls -o" on other UNIX systems, > is this a BSD only type of thing - file flags? It's something from BSD 4.4. Of course, some other Unix(-like) opsys has such features (eg. Linux has it, too on ext2). Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705131126.NAA00310>