Re: -922 under linux?
Posted in 1996
In article <01bb6cfb.ddb8fda0$d578a3ce@teleport.com>, The Network <hideki@agora.rdrop.com> writes >Hello... has anyone worked past the -922 (unable to get CWD) under linux? >I have tried multiple versions of the linux kernel and iBCS. (iBCS allows >linux to run binaries from other unix variants, such as SCO.) > >I have tried to think of how those crafty informix programmers would try >to find the current working directory -- environment variables, shell >commands (probably not), programs (such as pwd or cwd), library calls (we >copied the entire /shlib dir from sco to linux).... > >I have heard that they could be finding the inode number for "." then >looking up ".." and so on until "/", and tracing all those inode numbers, >but that seems too much work. Besides, there are no symlinks that would >make this fail.. > >Anyone have ideas? (fixes? :-) > >Please cc a response to hideki@agora.rdrop.com. I don't know what this >news program says is my email address... :( > I belive they use a system call - cwd() ? Last time I had this problem eithe a) the directory where informix is installed was not readable b) the directory where the database is installed had teh wrong permissions (directory 775 files 664) c) the user could not read their own home directory - Remember to set read AND execute for the user. -- David Williams