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)
Individual Network Berlin e.V.
System: NetBSD 6.0_BETA NetBSD 6.0_BETA (GENERIC) #0: 
Wed Feb 29 17:02:14 CET 2012
Architecture: x86_64
Machine: amd64
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.
As an unprivileged user, execute the following commands:

        echo '* * * * * /usr/bin/true' > /tmp/crontab-example
        crontab /tmp/crontab-example

Home | Main Index | Thread Index | Old Index