You are not logged in.

#1 2012-04-03 17:22:48

solstice
Member
Registered: 2006-10-27
Posts: 245
Website

fcron spool file permission

today, I wanted to add a cron job and used

$ fcrontab -e
fcrontab : editing solstice's fcrontab
18:30:57 open_as_user(): file solstice.orig does not pass the security test: uid=22 gid=22 mode=100640 openuid=1000 opengid=0
18:30:57 could not open file solstice.orig: Permission denied

so the /var/spool/fcron/solstice.orig that had permissions
-rw-r----- 1 cron cron 738 27 nov.  22:43 solstice.orig

I had to change them to root.root so that fcrontab -e works.

is it good ? is it the expected permission ?
isn't it better to get cron.cron ownership of such file ? is it a bug ?

Offline

Board footer

Powered by FluxBB