Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77414 | Differences between
and this patch

Collapse All | Expand All

(-)lib/nwclient.c.orig (+4 lines)
Lines 482-487 Link Here
482
                *err = errno;
482
                *err = errno;
483
                return NULL;
483
                return NULL;
484
        }
484
        }
485
        if (st.st_uid != getuid()) {
486
                *err = EACCES;
487
                return NULL;
488
        }
485
        if ((st.st_mode & (S_IRWXO | S_IRWXG)) != 0) {
489
        if ((st.st_mode & (S_IRWXO | S_IRWXG)) != 0) {
486
                *err = NCPLIB_INVALID_MODE;
490
                *err = NCPLIB_INVALID_MODE;
487
                return NULL;
491
                return NULL;

Return to bug 77414