You are not logged in.

#1 2015-04-21 13:31:04

Freso
Member
From: Denmark
Registered: 2011-09-09
Posts: 42
Website

sudoedit: mkstemps: Permission denied

I finally got around to installing Arch on a new machine yesterday, however, `sudoedit` gives me some grief:

% sudoedit test
[sudo] password for freso: 
sudoedit: mkstemps: Permission denied

`sudo` works just fine, so it must be the `mkstemps` function that doesn't like being invoked. `mktemp` works fine as both root (via sudo and "directly") and user. I don't have the issue on my other Arch systems (3 currently active, if you count an ALARM one), and I'm not sure what's different at this stage that would cause this denial.

There's no dmesg output related to a `sudoedit` run. `journalctl` reports this:

Apr 21 13:31:23 din sudo[665]: freso : TTY=pts/0 ; PWD=/home/freso ; USER=root ; COMMAND=sudoedit test

Last edited by Freso (2015-04-21 13:31:56)


Machines: Kotake. Tael, Farore
PKGBUILDs: in AUR, at BitBucket

Offline

#2 2015-05-29 17:57:31

prismatic
Member
Registered: 2015-05-29
Posts: 1

Re: sudoedit: mkstemps: Permission denied

Hi! I experienced the same issue.  For me I found a solution:

sudo chmod a=rwxt /var/tmp

. I had accidentially changed the folder permissions there.

Last edited by prismatic (2015-05-29 19:58:47)

Offline

Board footer

Powered by FluxBB