Hi,

Is create (2) with DMEXCL mode supported under 9vx?

I am trying to run webcookie, and am getting the following:


term% webcookies
webcookies: readjar: cannot acquire jar lock:
'/usr/dima/lib/L.webcookies' bad arg in system call
term%

coming likely from this code in webcookies.c:

=============================================

        for(i=0; i<50; i++){
                if((fd = create(jar->lockfile, OWRITE, DMEXCL|0666)) < 0){
                        sleep(100);
                        continue;
                }
                break;
        }
        if(fd < 0){
                if(debug)
                        fprint(2, "open %s: %r", jar->lockfile);
                werrstr("cannot acquire jar lock: %r");
                return -1;
        }

=============================================

If 9vx maps Plan9 permissions directly to Linux permissions this is
understandable. But is there any workaround?

Thanks.


-- 
Dimitry Golubovsky

Anywhere on the Web

Reply via email to