[daip] "Permission denied" error

Eric Greisen egreisen at nrao.edu
Mon Mar 2 18:09:14 EST 2015


On 03/02/2015 02:55 PM, Modhurita Mitra wrote:
> This is what I get:
>
> mitra at elwood:~$ cd $AIPS_ROOT/DA00/ELWOOD
> mitra at elwood:/opt/aips/DA00/ELWOOD$ ls -l
> total 14076
> -rw-rw-r-- 1 root root  839680 Jan 15 10:34 ACD000000;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001001;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001002;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001003;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001004;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001005;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001006;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001007;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001008;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD001009;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100A;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100B;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100C;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100D;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100E;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100F;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100G;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00100H;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002001;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002002;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002003;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002004;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002005;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002006;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002007;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002008;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD002009;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200A;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200B;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200C;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200D;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200E;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200F;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200G;
> -rw-rw-r-- 1 root root   10240 Feb 14  2013 BAD00200H;
> -rw-rw-r-- 1 root root    2048 Feb 14  2013 BQD000000;
> -rw-rw-r-- 1 root root   51200 Feb 14  2013 GRD000000;
> -rw-rw-r-- 1 root root 1326080 Feb 14  2013 ICD000000;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000001;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000002;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000003;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000004;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000005;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000006;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000007;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000008;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED000009;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000A;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000B;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000C;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000D;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000E;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000F;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000G;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000H;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000I;
> -rw-rw-r-- 1 root root  561152 Feb 14  2013 MED00000J;
> -rw-rw-r-- 1 root root  562176 Feb 14  2013 PWD000000;
> -rw-rw-r-- 1 root root       0 Feb 14  2013 SPACE
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 SPD000000;
> -rw-rw-r-- 1 root root  346112 Feb 14  2013 TCD000001;
> -rw-rw-r-- 1 root root  144384 Jan 15 10:32 TDD000004;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001001;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001002;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001003;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001004;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001005;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001006;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001007;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001008;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD001009;
> -rw-rw-r-- 1 root root    1024 Feb 14  2013 TPD00100A;
> mitra at elwood:/opt/aips/DA00/ELWOOD$
>
> Does this give you some information about what might be going wrong?

Yes - someone installed AIPS or at least this computer's system files as 
root.  Out installation procedure tries to prevent any installation as 
root since no one should be root while running aips or even have root 
group permissions.  You can determine more by doing a cd one level up 
and then an ls -l.  Is everything owned by root?  I hope not since that 
will cause continuing headaches.

To fix this you need to find someone with root privilege and have that 
someone change ownership and group to a real group (e.g. aipsuser).

Eric Greisen




More information about the Daip mailing list