strange nfs/yp/filec bug

Tom Gorodecki nsc!taux01!nsc.com!taux01!tom at sun.com
Thu Jan 12 00:48:15 AEST 1989


A Strange behavior on sun3 (3.5SunOS ) with NFS/YP server sun4/280
(4.0SunOS).  Look at the following script, done on sun3:

/ 1% echo ~shmuel                          /* An user with a         */
/users/tesec/shmuel                        /* home directory on NFS */ 

/ 2% df /users/tesec
Filesystem            kbytes    used   avail capacity  Mounted on
tasu70:/ud70/tesec     532959  441935   37728    92%    /users/tesec

/ 3% ls ~shmuel                            /* there are few files */
bin		docs		mail		reports
man	        general	

/ 4%set filec                              /* turn the filec ON */

/ 6%ls ~shmue^[               /* ls ~shmuel using the filec. */
			      /* It make the completion fine, */
			      /* but ... NO FILES            */
/ 7%

If i change the "ls" command with "rm" , it will only recognize the
subdirectory of ~shmuel and stuck on regular files.

[[ Known bug.  Standard output gets trashed when you ask for filename
expansion on a user's home directory (~shu^[" for example), thus no
output.  Fixed in 4.0.1 (we don't have a 4.0 system, so I can't check
that).  --wnl ]]

Tom.
-- 
Gorodecki Tom.  National Semiconductor (IC)
6 Maskit st. P.O.B. 3007, Herzlia B,  46 104, Israel
UUCP:  {hplabs,pyramid,sun,decwrl}!nsc!taux01!tom
domain:  tom%taux01 at nsc.com



More information about the Comp.sys.sun mailing list