NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/46127: "crontab <file>" fails for unprivileged users



>Number:         46127
>Category:       bin
>Synopsis:       "crontab <file>" fails for unprivileged users
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 02 11:55:00 +0000 2012
>Originator:     Holger Weiss
>Release:        NetBSD 6.0_BETA (2012-02-29)
>Organization:
Individual Network Berlin e.V.
>Environment:
System: NetBSD petty.weiss.in-berlin.de 6.0_BETA NetBSD 6.0_BETA (GENERIC) #0: 
Wed Feb 29 17:02:14 CET 2012 
holger%smith.weiss.in-berlin.de@localhost:/src/build/obj/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
Executing "crontab <file>" fails due to a permission error:

| crontab: cannot create `tabs/tmp.00010572aa': Permission denied

The permissions on "/usr/bin/crontab" are correct ("-r-sr-xr-x", owned
by root), and "crontab -e" works fine.
>How-To-Repeat:
As an unprivileged user, execute the following commands:

        echo '* * * * * /usr/bin/true' > /tmp/crontab-example
        crontab /tmp/crontab-example
>Fix:
Unknown.



Home | Main Index | Thread Index | Old Index