[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010226: 20010226: 20010222: No permission to write VG file
- Subject: 20010226: 20010226: 20010222: No permission to write VG file
- Date: Mon, 26 Feb 2001 17:36:34 -0700
If the pallete pops up with all black buttons, then it cant get the color
for the background. That isn't one of the colors allocated in advance by ntl.
Its an X thing. probably need to close something- or start ntl with less colors.
If some can save and some can't save, then it sounds like something
is different in the setup, such as the uid user id.
Looks like the only way to figure this out is to see why the routine
is returning a cant_write status. I'll compile a version of nmap2
with lots of output statements in the routine to see what test is failing.
Chiz
>From: Clint Rowe <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200102270023.f1R0N0L17511
>Chiz,
>
>The home directory definitely is owned by the user, but some can and some can'
> t
>save files. I tried to check nmap2, but now I get a blank pgpalette popup,
>then it gives a segmentation error. It wasn't doing that before! Something
>very odd is happening here.
>
>Clint
>
>>
>>$GEMPAK/source/nmaplib/nmap_pgfilw.c gives the no permission message.
>>This is the return status from pgfilw_checkPerms.
>>
>>The write permission is only if the directory/file is owned by the user-
>>so that is a problem with global write permission to a class directory
>>or even /tmp. If the user is starting from their home directory, and they
>>have ownership of that directory, it should work. Can you verify that
>>the accounts are owned by the individual?
>>
>>Have you tried NMAP2 or just NMAP? They both use nmaplib, so they
>>should have the same problem. I'm assuming its not a length of
>>filename problem...unless the student account path has a very long name.
>>
>>Chiz
>>
>>
>>
>>Steve Chiswell
>>Unidata User Support
>>
>>>From: Clint Rowe <address@hidden>
>>>Organization: UCAR/Unidata
>>>Keywords: 200102262115.f1QLFSL03644
>>
>>>Chiz,
>>>
>>>"Local" does seem to map to where nmap(or nmap2 or ntl) was started. If
>>>launched from student's $HOME (where they obviously have write permission)
>>>they still get the error. Using "Browse" confirms that they are pointed
>>>at their home directory. I've also tried adding a "public" directory
>>>with write permission for the world, but they are still not able to save
>>>vgf files. I've also tried to find the error message in an nmap source
>>>file (in /home/nawips/NAWIPS-5.6/nprogs/nmap/source), but can't find the
>>>text anywhere -- where's the message coming from? The message on the popup
>>>is "No permission to write VG File" and the only instance of "permission"
>>>I can find in /home/nawips/NAWIPS-5.6/nprogs/nmap/source) is in nmap_pgpalw.
> c:
>>>
>>>purga% grep ermission *
>>>nmap_pgpalw.c: "Unable to create %s file -- no write permissi
> on
>>> ",
>>>WORK_FILE);
>>>purga% pwd
>>>/home/nawips/NAWIPS-5.6/nprogs/nmap/source
>>>
>>>Frustratedly yours,
>>>Clint
>>>
>>>>
>>>>Clint,
>>>>
>>>>I believe that "Local" will try to write output to the $cwd, ...eg the
>>>directory
>>>>that you launch nmap (or ntl) from. So, it might be that the student accoun
> t
>>>configuration
>>>>is launching from somewhere otther than HOME?
>>>>
>>>>In $GEMTBL/nmap/vgf.tbl are configurations for directory categories. You ca
> n
>>>use
>>>>environmental variables in there. It might be useful to define a VGF_WORK o
> r
>>>>something that goes to $HOME/vgf or the sort making sure that HOME is defi
> ne
>>> d
>>>either
>>>>in the user environment (or a check in Gemenviron to set it if it isn't set
> ).
>>>>
>>>>Let me know if $cwd isn't the users home directory.
>>>>
>>>>Chiz
>>>>
>>>>
>>>>Steve Chiswell
>>>>Unidata User Support
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>From: Clint Rowe <address@hidden>
>>>>>Organization: UCAR/Unidata
>>>>>Keywords: 200102222144.f1MLiZL15002
>>>>
>>>>>--Drove_of_Donkeys_645_000
>>>>>Content-Type: TEXT/plain; charset=us-ascii
>>>>>Content-MD5: VfUZ6JKd6YQP4ZR8s1wb8A==
>>>>>
>>>>>Chiz,
>>>>>
>>>>>Our undergraduates have starting to use Nmap, but when they try to save
>>>>>something from the product generation palette, they get the following: "No
>>>>>permission to write VG file". It seems only to happen for undergraduates
> --
>>>>>Mark and I can save products and so can the grad students who have tried.
> Th
>>> e
>>>>>problem seems to be limited to undergraduate accounts on our system. Any i
> de
>>> as
>>>>>about what might be causing this? He's trying to save to "Local", so file
>>>>>permissions shouldn't be the problem (I'm assuming "Local" maps to $HOME).
>>>>>
>>>>>I'm attaching the results of a setenv from a graduate account and from an
>>>>>undergraduate account -- diff shows that the main differences are where
>>>>>$HOME is used to create a variable (except the value of HZ, set for gradua
> te
>>>>>but not for undergraduate -- I don't know what that is).
>>>>>
>>>>>24c24
>>>>>< GRPHGD=/home/washley
>>>>>---
>>>>>> GRPHGD=/home/student
>>>>>26,27c26,27
>>>>>< HOME=/home/washley
>>>>>< HZ=100
>>>>>---
>>>>>> HOME=/home/student
>>>>>> HZ=
>>>>>30c30
>>>>>< LOGNAME=washley
>>>>>---
>>>>>> LOGNAME=student
>>>>>34c34
>>>>>< MCDATA=/home/washley/mcidas/data
>>>>>---
>>>>>> MCDATA=/home/student/mcidas/data
>>>>>36,38c36,38
>>>>>< MCPATH=/home/washley/mcidas/data:/home/mcidas/data:/home/mcidas/help
>>>>><
>>>>>MCTABLE_READ=/home/washley/mcidas/data/MCTABLE.TXT;/home/mcidas/data/ADDES
> IT
>>> E.
>>>>> TX
>>>>>T
>>>>>< MCTABLE_WRITE=/home/washley/mcidas/data/MCTABLE.TXT
>>>>>---
>>>>>> MCPATH=/home/student/mcidas/data:/home/mcidas/data:/home/mcidas/help
>>>>>>
>>>>>MCTABLE_READ=/home/student/mcidas/data/MCTABLE.TXT;/home/mcidas/data/ADDES
> IT
>>> E.
>>>>> TX
>>>>>T
>>>>>> MCTABLE_WRITE=/home/student/mcidas/data/MCTABLE.TXT
>>>>>55c55
>>>>><
>>>>>PATH=/opt/SUNWspro/bin:/home/mcidas/bin:/home/washley:/usr/local/bin:.:/us
> r/
>>> bi
>>>>> n:
>>>>>/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:/home/nawips/NAWIPS-5.6/bin/sol:/ho
> me
>>> /n
>>>>> aw
>>>>>ips/NAWIPS-5.6/bin/scripts:~/Office51/bin
>>>>>---
>>>>>>
>>>>>PATH=/opt/SUNWspro/bin:/home/mcidas/bin:/home/student:/usr/local/bin:.:/us
> r/
>>> bi
>>>>> n:
>>>>>/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:/home/nawips/NAWIPS-5.6/bin/sol:/ho
> me
>>> /n
>>>>> aw
>>>>>ips/NAWIPS-5.6/bin/scripts
>>>>>58c58
>>>>>< PWD=/home/washley
>>>>>---
>>>>>> PWD=/home/student
>>>>>74c74
>>>>>< USER=washley
>>>>>---
>>>>>> USER=student
>>>>>
>>>>>Clint
>>>>>
>>>>>
>>>>>====================================================================
>>>>>Clinton M. Rowe
>>>>>Associate Professor
>>>>>Meteorology/Climatology Program phone:(402)472-1946
>>>>>Department of Geosciences fax:(402)472-4917
>>>>>University of Nebraska-Lincoln address@hidden
>>>>>
>>>>>
>>>>>--Drove_of_Donkeys_645_000
>>>>>Content-Type: TEXT/plain; name=grad_env; charset=us-ascii; x-unix-mode=066
> 4
>>>>>Content-Description: grad_env
>>>>>Content-MD5: 4mVVCp0L3YzOxaQ/YNRWkA==
>>>>>
>>>>>BRDGDIR=/home/nawips/NAWIPS-5.6/unidata/ldmbridge
>>>>>CONFIGDIR=/home/nawips/NAWIPS-5.6/config
>>>>>DISPLAY=purga:0.0
>>>>>EDITOR=vi
>>>>>GARP_PATH=/home/nawips/NAWIPS-5.6/comet/garp/config
>>>>>GARPHOME=/home/nawips/NAWIPS-5.6/comet/garp
>>>>>GEMDATA=/data/gempak
>>>>>GEMERR=/home/nawips/NAWIPS-5.6/gempak/error
>>>>>GEMEXE=/home/nawips/NAWIPS-5.6/bin/sol
>>>>>GEMGTXT=/home/nawips/NAWIPS-5.6/gempak/txt/gemlib
>>>>>GEMHLP=/home/nawips/NAWIPS-5.6/gempak/help
>>>>>GEMLIB=/home/nawips/NAWIPS-5.6/lib/sol
>>>>>GEMMAPS=/home/nawips/NAWIPS-5.6/gempak/maps
>>>>>GEMNTS=/home/nawips/NAWIPS-5.6/gempak/nts
>>>>>GEMPAK=/home/nawips/NAWIPS-5.6/gempak
>>>>>GEMPAKHOME=/home/nawips/NAWIPS-5.6/gempak
>>>>>GEMPARM=/home/nawips/NAWIPS-5.6/gempak/parm
>>>>>GEMPDF=/home/nawips/NAWIPS-5.6/gempak/pdf
>>>>>GEMPTXT=/home/nawips/NAWIPS-5.6/gempak/txt/programs
>>>>>GEMTBL=/home/nawips/NAWIPS-5.6/gempak/tables
>>>>>GINI=/data/pub/raw/gini
>>>>>GOES8=/data/gempak/images/sat/GOES-8
>>>>>GOES9=/data/gempak/images/sat/GOES-9
>>>>>GRPHGD=/home/washley
>>>>>HDS=/data/gempak/model
>>>>>HOME=/home/washley
>>>>>HZ=100
>>>>>LD_LIBRARY_PATH=/opt/SUNWspro/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/u
> sr
>>> /c
>>>>> cs/lib:/usr/ucblib:/usr/local/lib
>>>>>LDMDATA=/data
>>>>>LOGNAME=washley
>>>>>LP=lp
>>>>>LPFLAG=-d
>>>>>MANPATH=/opt/SUNWspro/man:/usr/man:/usr/local/man:/usr/openwin/man
>>>>>MCDATA=/home/washley/mcidas/data
>>>>>MCGUI=/home/mcidas/bin
>>>>>MCPATH=/home/washley/mcidas/data:/home/mcidas/data:/home/mcidas/help
>>>>>MCTABLE_READ=/home/washley/mcidas/data/MCTABLE.TXT;/home/mcidas/data/ADDES
> IT
>>> E.
>>>>> TXT
>>>>>MCTABLE_WRITE=/home/washley/mcidas/data/MCTABLE.TXT
>>>>>MODEL=/data/gempak/model
>>>>>MOZILLA_HOME=/opt/netscape
>>>>>NA_OS=sol
>>>>>NAWIPS=/home/nawips/NAWIPS-5.6
>>>>>NAWIPS_EXE=/home/nawips/NAWIPS-5.6/bin/sol
>>>>>NAWIPS_HELP=/home/nawips/NAWIPS-5.6/help
>>>>>NAWIPS_INC=/home/nawips/NAWIPS-5.6/include
>>>>>NAWIPS_LIB=/home/nawips/NAWIPS-5.6/lib/sol
>>>>>NAWIPS_TABLES=/home/nawips/NAWIPS-5.6/tables
>>>>>NLDN=/data/gempak/nldn
>>>>>NMAP_RESTORE=/home/nawips/NAWIPS-5.6/gempak/nts/nmap/restore
>>>>>NNTPSERVER=crcnews.unl.edu
>>>>>NTRANS_META=/data/gempak/meta
>>>>>NWX_TABLES=/home/nawips/NAWIPS-5.6/tables/nwx
>>>>>OBS=/data/gempak
>>>>>OPENWINHOME=/usr/openwin
>>>>>PATH=/opt/SUNWspro/bin:/home/mcidas/bin:/home/washley:/usr/local/bin:.:/us
> r/
>>> bi
>>>>> n:/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:/home/nawips/NAWIPS-5.6/bin/sol:
> /h
>>> om
>>>>> e/nawips/NAWIPS-5.6/bin/scripts:~/Office51/bin
>>>>>PGPLOT_DEV=/xwin
>>>>>PGPLOT_DIR=/usr/local/pgplot
>>>>>PWD=/home/washley
>>>>>RAD=/data/gempak/nexrad
>>>>>RAW_SAO=/data/surface/sao
>>>>>RAW_SYN=/data/surface/syn
>>>>>RAW_UPA=/data/upperair
>>>>>RBKGPH=/data/gempak/redbook
>>>>>SAO=/data/gempak/surface
>>>>>SAT=/data/gempak/images/sat
>>>>>SCRIPTS_EXE=/home/nawips/NAWIPS-5.6/bin/scripts
>>>>>SHELL=/bin/csh
>>>>TERM=dtterm
>>>>>TEXT_DATA=/data/gempak/nwx
>>>>>TORN_WARN=/data/gempak/nwx/watch_warn/torn_warn
>>>>>TSTRM_WARN=/data/gempak/nwx/watch_warn/tstrm_warn
>>>>>TZ=US/Central
>>>>>UPA=/data/gempak/upperair
>>>>>USER=washley
>>>>>WWW_HOME=http://zephyr.unl.edu/
>>>>>XUSERFILESEARCHPATH=/home/nawips/NAWIPS-5.6/resource/%N
>>>>>
>>>>>--Drove_of_Donkeys_645_000
>>>>>Content-Type: TEXT/plain; name=student_env; charset=us-ascii; x-unix-mode=
> 06
>>> 64
>>>>>Content-Description: student_env
>>>>>Content-MD5: zs2fxfKnUrQVJW3uWJS+Wg==
>>>>>
>>>>>BRDGDIR=/home/nawips/NAWIPS-5.6/unidata/ldmbridge
>>>>>CONFIGDIR=/home/nawips/NAWIPS-5.6/config
>>>>>DISPLAY=purga:0.0
>>>>>EDITOR=vi
>>>>>GARP_PATH=/home/nawips/NAWIPS-5.6/comet/garp/config
>>>>>GARPHOME=/home/nawips/NAWIPS-5.6/comet/garp
>>>>>GEMDATA=/data/gempak
>>>>>GEMERR=/home/nawips/NAWIPS-5.6/gempak/error
>>>>>GEMEXE=/home/nawips/NAWIPS-5.6/bin/sol
>>>>>GEMGTXT=/home/nawips/NAWIPS-5.6/gempak/txt/gemlib
>>>>>GEMHLP=/home/nawips/NAWIPS-5.6/gempak/help
>>>>>GEMLIB=/home/nawips/NAWIPS-5.6/lib/sol
>>>>>GEMMAPS=/home/nawips/NAWIPS-5.6/gempak/maps
>>>>>GEMNTS=/home/nawips/NAWIPS-5.6/gempak/nts
>>>>>GEMPAK=/home/nawips/NAWIPS-5.6/gempak
>>>>>GEMPAKHOME=/home/nawips/NAWIPS-5.6/gempak
>>>>>GEMPARM=/home/nawips/NAWIPS-5.6/gempak/parm
>>>>>GEMPDF=/home/nawips/NAWIPS-5.6/gempak/pdf
>>>>>GEMPTXT=/home/nawips/NAWIPS-5.6/gempak/txt/programs
>>>>>GEMTBL=/home/nawips/NAWIPS-5.6/gempak/tables
>>>>>GINI=/data/pub/raw/gini
>>>>>GOES8=/data/gempak/images/sat/GOES-8
>>>>>GOES9=/data/gempak/images/sat/GOES-9
>>>>>GRPHGD=/home/student
>>>>>HDS=/data/gempak/model
>>>>>HOME=/home/student
>>>>>HZ=
>>>>>LD_LIBRARY_PATH=/opt/SUNWspro/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/u
> sr
>>> /c
>>>>> cs/lib:/usr/ucblib:/usr/local/lib
>>>>>LDMDATA=/data
>>>>>LOGNAME=student
>>>>>LP=lp
>>>>>LPFLAG=-d
>>>>>MANPATH=/opt/SUNWspro/man:/usr/man:/usr/local/man:/usr/openwin/man
>>>>>MCDATA=/home/student/mcidas/data
>>>>>MCGUI=/home/mcidas/bin
>>>>>MCPATH=/home/student/mcidas/data:/home/mcidas/data:/home/mcidas/help
>>>>>MCTABLE_READ=/home/student/mcidas/data/MCTABLE.TXT;/home/mcidas/data/ADDES
> IT
>>> E.
>>>>> TXT
>>>>>MCTABLE_WRITE=/home/student/mcidas/data/MCTABLE.TXT
>>>>>MODEL=/data/gempak/model
>>>>>MOZILLA_HOME=/opt/netscape
>>>>>NA_OS=sol
>>>>>NAWIPS=/home/nawips/NAWIPS-5.6
>>>>NAWIPS_EXE=/home/nawips/NAWIPS-5.6/bin/sol
>>>>>NAWIPS_HELP=/home/nawips/NAWIPS-5.6/help
>>>>>NAWIPS_INC=/home/nawips/NAWIPS-5.6/include
>>>>>NAWIPS_LIB=/home/nawips/NAWIPS-5.6/lib/sol
>>>>>NAWIPS_TABLES=/home/nawips/NAWIPS-5.6/tables
>>>>>NLDN=/data/gempak/nldn
>>>>>NMAP_RESTORE=/home/nawips/NAWIPS-5.6/gempak/nts/nmap/restore
>>>>>NNTPSERVER=crcnews.unl.edu
>>>>>NTRANS_META=/data/gempak/meta
>>>>>NWX_TABLES=/home/nawips/NAWIPS-5.6/tables/nwx
>>>>>OBS=/data/gempak
>>>>>OPENWINHOME=/usr/openwin
>>>>>PATH=/opt/SUNWspro/bin:/home/mcidas/bin:/home/student:/usr/local/bin:.:/us
> r/
>>> bi
>>>>> n:/usr/ccs/bin:/usr/openwin/bin:/usr/ucb:/home/nawips/NAWIPS-5.6/bin/sol:
> /h
>>> om
>>>>> e/nawips/NAWIPS-5.6/bin/scripts
>>>>>PGPLOT_DEV=/xwin
>>>>>PGPLOT_DIR=/usr/local/pgplot
>>>>>PWD=/home/student
>>>>>RAD=/data/gempak/nexrad
>>>>>RAW_SAO=/data/surface/sao
>>>>>RAW_SYN=/data/surface/syn
>>>>>RAW_UPA=/data/upperair
>>>>>RBKGPH=/data/gempak/redbook
>>>>>SAO=/data/gempak/surface
>>>>>SAT=/data/gempak/images/sat
>>>>>SCRIPTS_EXE=/home/nawips/NAWIPS-5.6/bin/scripts
>>>>>SHELL=/bin/csh
>>>>>TERM=dtterm
>>>>>TEXT_DATA=/data/gempak/nwx
>>>>>TORN_WARN=/data/gempak/nwx/watch_warn/torn_warn
>>>>>TSTRM_WARN=/data/gempak/nwx/watch_warn/tstrm_warn
>>>>>TZ=US/Central
>>>>>UPA=/data/gempak/upperair
>>>>>USER=student
>>>>>WWW_HOME=http://zephyr.unl.edu/
>>>>>XUSERFILESEARCHPATH=/home/nawips/NAWIPS-5.6/resource/%N
>>>>>
>>>>>--Drove_of_Donkeys_645_000--
>>>>>
>>>>>From address@hidden Mon Dec 4 14:31:17 2000
>>>>>Received: from zephyr.unl.edu (zephyr.unl.edu [129.93.52.6])
>>>>> by unidata.ucar.edu (UCAR/Unidata) with ESMTP id eB4LVHo06094
>>>>> for <address@hidden>; Mon, 4 Dec 2000 14:31:17 -0700 (MST)
>>>>>Organization: UCAR/Unidata
>>>>>Keywords: 200012042131.eB4LVHo06094
>>>>>Received: from purga.unl.edu (purga [129.93.52.151])
>>>>> by zephyr.unl.edu (8.9.1b+Sun/8.9.1) with ESMTP id PAA21432
>>>>> for <address@hidden>; Mon, 4 Dec 2000 15:29:30 -0600 (CST)
>>>>>Received: from purga (purga [129.93.52.151])
>>>>> by purga.unl.edu (8.9.3+Sun/8.9.3) with SMTP id PAA03929
>>>>> for <address@hidden>; Mon, 4 Dec 2000 15:31:03 -0600 (CST)
>>>>>Message-Id: <address@hidden>
>>>>>Date: Mon, 4 Dec 2000 15:31:03 -0600 (CST)
>>>>>From: Clint Rowe <address@hidden>
>>>>>Reply-To: Clint Rowe <address@hidden>
>>>>>Subject: NMAP problem
>>>>>To: address@hidden
>>>>>MIME-Version: 1.0
>>>>>Content-Type: TEXT/plain; charset=us-ascii
>>>>>Content-MD5: PQwEMfWYVhrdZ3tM8q5oKw==
>>>>>X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc
>>>>>
>>>>>Chiz,
>>>>>
>>>>>I have a student who is starting to use Nmap. He's able to do most things
> ,
>>>>>but wehen he tries to save something from the product generation palette,
>>>>>he gets the following: "No permission to write VG file". It seems
>>>>>only to happen for him -- I can save products and so can at least 2 of the
>>>>>grad students (the only 2 I could find today to ask). Any ideas about wha
> t
>>>>>might be causing this? He's trying to save to "Local", so Unix permission
> s
>>>>>don't seem to be the problem.
>>>>>
>>>>>Clint
>>>>>
>>>>>====================================================================
>>>>>Clinton M. Rowe
>>>>>Associate Professor
>>>>>Meteorology/Climatology Program phone:(402)472-1946
>>>>>Department of Geosciences fax:(402)472-4917
>>>>>University of Nebraska-Lincoln address@hidden
>>>>>
>>>>>
>>>>
>>>>***************************************************************************
> *
>>>>Unidata User Support UCAR Unidata Progra
> m
>>>>(303)497-8644 P.O. Box 300
> 0
>>>>address@hidden Boulder, CO 8030
> 7
>>>>---------------------------------------------------------------------------
> -
>>>>Unidata WWW Service http://www.unidata.ucar.edu/
>
>>>>***************************************************************************
> *
>>>
>>>
>>>====================================================================
>>>Clinton M. Rowe
>>>Associate Professor
>>>Meteorology/Climatology Program phone:(402)472-1946
>>>Department of Geosciences fax:(402)472-4917
>>>University of Nebraska-Lincoln address@hidden
>>>
>>>
>>
>>****************************************************************************
>>Unidata User Support UCAR Unidata Program
>>(303)497-8644 P.O. Box 3000
>>address@hidden Boulder, CO 80307
>>----------------------------------------------------------------------------
>>Unidata WWW Service http://www.unidata.ucar.edu/
>>****************************************************************************
>
>
>====================================================================
>Clinton M. Rowe
>Associate Professor
>Meteorology/Climatology Program phone:(402)472-1946
>Department of Geosciences fax:(402)472-4917
>University of Nebraska-Lincoln address@hidden
>
>