[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031114: still having the same error



Dusty,

You downloaded the saunding.dat file to:
/home/dgilling/gempak/sounding.dat

After you changed your user to "su - gempak", you ran SNEDIT
with SNEFIL=/home/dgilling/gempak/sounding.dat
and received:
[FL -1] Cannot open file /home/dgilling/gempak/sounding.dat

This is because you have not given the gempak user permission to
read this file from your directory.

Note, you do not have to become the gempak user to run gempak.
You just have to source the Gemenviron file into your environment.

But, if you are going to become a different user, then you have to
allow that user to read the file you downloaded. You can do this
as the dgilling user with:
% chmod a+r /home/dgilling/gempak/sounding.dat

The unix command chmod will enable you to change the access permissions of
a file.

Steve Chiswell
Unidata User Support



>From: <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200311142201.hAEM1kOb014457

>This is a multi-part message in MIME format.
>
>------_=_NextPart_001_01C3AAFA.E2B250ED
>Content-Type: text/plain;
>       charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
>=20
>Steve,=20
>
>I have shown you my steps that I take in Linux to try and create these
>files. I ran the locate command from the command line in my regular
>working directory and it shows that sounding.dat is in the gempak
>directory. Once I log into the gempak directory and try to locate the
>file it cannot find it. When I list the directory it does not show it. I
>still tried what you said and it still didn't work. Any clue as to
>what's up?
>
>[dgilling@pc-qrc2 ~]$ locate sounding.dat
>/home/dgilling/gempak/sounding.dat
>
>[dgilling@pc-qrc2 ~]$ su - gempak
>
>Password:
>
>access control disabled, clients can connect from any host
>[gempak@pc-qrc2 ~]$ locate sounding.dat [gempak@pc-qrc2 ~]$ ls
>
>199701_upa.gem 200004_upa.gem dec01.ps march_2001.ps
>
>199702_upa.gem 200005_upa.gem dec_2001.ps may01.ps
>
>199703_upa.gem 200006_upa.gem doc may_2001.ps
>
>199704_upa.gem 200007_upa.gem feb01.ps myfile.ps
>
>199705_upa.gem 200008_upa.gem feb_2001.ps netcdf
>
>199706_upa.gem 200009_upa.gem fgzjune01.ps Nmeta
>
>199707_upa.gem 200010_upa.gem Gemenviron nov_2001.ps
>
>199708_upa.gem 200011_upa.gem gemglb.nts nprogs
>
>199709_upa.gem 200012_upa.gem gempak oct01.ps
>
>199710_upa.gem 200101_upa.gem gempak.gif oct_2001.ps
>
>199711_upa.gem 200102_upa.gem gempak.gif.001 oerk_08_01.ps
>
>199712_upa.gem 200103_upa.gem help okbk02.ps
>
>199801_upa.gem 200104_upa.gem icons okbk03.ps
>
>199802_upa.gem 200105_upa.gem include okbk04.ps
>
>199803_upa.gem 200106_upa.gem install.out okbk05.ps
>
>199804_upa.gem 200107_upa.gem jan01.ps okbk06.ps
>
>199805_upa.gem 200108_upa.gem jan_2000.ps ounjune01.ps
>
>199806_upa.gem 200109_upa.gem jan_2001.ps ps.plt
>
>199807_upa.gem 200110_upa.gem july00.ps README.License_disclaimer
>
>199808_upa.gem 200111_upa.gem july01.ps resource
>
>199809_upa.gem 200112_upa.gem july_2001.ps scripts
>
>199810_upa.gem alboct.ps july97.ps sept00.ps
>
>199811_upa.gem bin july98.ps sept01.ps
>
>199812_upa.gem C july99.ps sept_2001.ps
>
>199901_upa.gem clean.out july.ps sept22-31_01.ps
>
>199902_upa.gem comet june00.ps sept8-14_01.ps
>
>199903_upa.gem config june01.ps sept97.ps
>
>199904_upa.gem core.1248 june_2001.ps sept98.ps
>
>199905_upa.gem core.1276 june97.ps sept99.ps
>
>199906_upa.gem core.1368 june98.ps sncross.nts
>
>199907_upa.gem core.1394 june99.ps snmap.nts
>
>199908_upa.gem core.1458 kuwaitoct.ps snprof.nts
>
>199909_upa.gem core.1459 kuwait.ps sntser.nts
>
>199910_upa.gem core.1579 last.nts tables
>
>199911_upa.gem core.1580 ldm test.gem
>
>199912_upa.gem core.1584 lib unidata
>
>200001_upa.gem core.1609 Makefile versions
>
>200002_upa.gem core.1669 make.out
>
>200003_upa.gem core.1681 march01.ps
>
>[gempak@pc-qrc2 ~]$ snedit
>
>SNEFIL Sounding edit file gempak/sounding.dat
>
>SNFILE Sounding data file sounding.gem
>
>TIMSTN Times/additional stations 300/1000
>
>Parameters requested: SNEFIL,SNFILE,TIMSTN.
>GEMPAK-SNEDIT>snefil=3D/home/dgilling/gempak/sounding.dat
>
>GEMPAK-SNEDIT>r
>
>[FL -1] Cannot open file /home/dgilling/gempak/sounding.dat.
>
>[SNEDIT -3] The edit file cannot be opened.
>
>Parameters requested: SNEFIL,SNFILE,TIMSTN.
>GEMPAK-SNEDIT>snefil=3Dgempak/sounding.dat
>
>GEMPAK-SNEDIT>r
>
>[FL -1] Cannot open file gempak/sounding.dat.
>
>[SNEDIT -3] The edit file cannot be opened.
>
>Parameters requested: SNEFIL,SNFILE,TIMSTN.
>
>GEMPAK-SNEDIT>
>
>
>------_=_NextPart_001_01C3AAFA.E2B250ED
>Content-Type: text/html;
>       charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD><TITLE>Message</TITLE>
><META http-equiv=3DContent-Type content=3D"text/html; =
>charset=3Dus-ascii">
><META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
><BODY style=3D"COLOR: #000000; FONT-FAMILY: "><LABEL id=3DHbSession=20
>SessionId=3D"3756750194"></LABEL>
><DIV><FONT size=3D2>
><P>Steve, </P>
><P>I have shown you my steps that I take in Linux to try and create =
>these files.=20
>I ran the locate command from the command line in my regular working =
>directory=20
>and it shows that sounding.dat is in the gempak directory. Once I log =
>into the=20
>gempak directory and try to locate the file it cannot find it. When I =
>list the=20
>directory it does not show it. I still tried what you said and it still =
>didn't=20
>work. Any clue as to what's up?</P>
><P>[dgilling@pc-qrc2 ~]$ locate sounding.dat=20
>/home/dgilling/gempak/sounding.dat</P>
><P>[dgilling@pc-qrc2 ~]$ su - gempak</P>
><P>Password:</P>
><P>access control disabled, clients can connect from any host =
>[gempak@pc-qrc2=20
>~]$ locate sounding.dat [gempak@pc-qrc2 ~]$ ls</P>
><P>199701_upa.gem 200004_upa.gem dec01.ps march_2001.ps</P>
><P>199702_upa.gem 200005_upa.gem dec_2001.ps may01.ps</P>
><P>199703_upa.gem 200006_upa.gem doc may_2001.ps</P>
><P>199704_upa.gem 200007_upa.gem feb01.ps myfile.ps</P>
><P>199705_upa.gem 200008_upa.gem feb_2001.ps netcdf</P>
><P>199706_upa.gem 200009_upa.gem fgzjune01.ps Nmeta</P>
><P>199707_upa.gem 200010_upa.gem Gemenviron nov_2001.ps</P>
><P>199708_upa.gem 200011_upa.gem gemglb.nts nprogs</P>
><P>199709_upa.gem 200012_upa.gem gempak oct01.ps</P>
><P>199710_upa.gem 200101_upa.gem gempak.gif oct_2001.ps</P>
><P>199711_upa.gem 200102_upa.gem gempak.gif.001 oerk_08_01.ps</P>
><P>199712_upa.gem 200103_upa.gem help okbk02.ps</P>
><P>199801_upa.gem 200104_upa.gem icons okbk03.ps</P>
><P>199802_upa.gem 200105_upa.gem include okbk04.ps</P>
><P>199803_upa.gem 200106_upa.gem install.out okbk05.ps</P>
><P>199804_upa.gem 200107_upa.gem jan01.ps okbk06.ps</P>
><P>199805_upa.gem 200108_upa.gem jan_2000.ps ounjune01.ps</P>
><P>199806_upa.gem 200109_upa.gem jan_2001.ps ps.plt</P>
><P>199807_upa.gem 200110_upa.gem july00.ps README.License_disclaimer</P>
><P>199808_upa.gem 200111_upa.gem july01.ps resource</P>
><P>199809_upa.gem 200112_upa.gem july_2001.ps scripts</P>
><P>199810_upa.gem alboct.ps july97.ps sept00.ps</P>
><P>199811_upa.gem bin july98.ps sept01.ps</P>
><P>199812_upa.gem C july99.ps sept_2001.ps</P>
><P>199901_upa.gem clean.out july.ps sept22-31_01.ps</P>
><P>199902_upa.gem comet june00.ps sept8-14_01.ps</P>
><P>199903_upa.gem config june01.ps sept97.ps</P>
><P>199904_upa.gem core.1248 june_2001.ps sept98.ps</P>
><P>199905_upa.gem core.1276 june97.ps sept99.ps</P>
><P>199906_upa.gem core.1368 june98.ps sncross.nts</P>
><P>199907_upa.gem core.1394 june99.ps snmap.nts</P>
><P>199908_upa.gem core.1458 kuwaitoct.ps snprof.nts</P>
><P>199909_upa.gem core.1459 kuwait.ps sntser.nts</P>
><P>199910_upa.gem core.1579 last.nts tables</P>
><P>199911_upa.gem core.1580 ldm test.gem</P>
><P>199912_upa.gem core.1584 lib unidata</P>
><P>200001_upa.gem core.1609 Makefile versions</P>
><P>200002_upa.gem core.1669 make.out</P>
><P>200003_upa.gem core.1681 march01.ps</P>
><P>[gempak@pc-qrc2 ~]$ snedit</P>
><P>SNEFIL Sounding edit file gempak/sounding.dat</P>
><P>SNFILE Sounding data file sounding.gem</P>
><P>TIMSTN Times/additional stations 300/1000</P>
><P>Parameters requested: SNEFIL,SNFILE,TIMSTN.=20
>GEMPAK-SNEDIT&gt;snefil=3D/home/dgilling/gempak/sounding.dat</P>
><P>GEMPAK-SNEDIT&gt;r</P>
><P>[FL -1] Cannot open file /home/dgilling/gempak/sounding.dat.</P>
><P>[SNEDIT -3] The edit file cannot be opened.</P>
><P>Parameters requested: SNEFIL,SNFILE,TIMSTN.=20
>GEMPAK-SNEDIT&gt;snefil=3Dgempak/sounding.dat</P>
><P>GEMPAK-SNEDIT&gt;r</P>
><P>[FL -1] Cannot open file gempak/sounding.dat.</P>
><P>[SNEDIT -3] The edit file cannot be opened.</P>
><P>Parameters requested: SNEFIL,SNFILE,TIMSTN.</P>
><P>GEMPAK-SNEDIT&gt;</P></FONT></DIV>
><P></P></BODY></HTML>
>=00
>------_=_NextPart_001_01C3AAFA.E2B250ED--
>