View Single Post

   
  #4 (permalink)  
Old 02-20-2008, 06:50 AM
Jacek Kalinski
 
Posts: n/a
Default Re: crontab not working with vim

Dnia 03/10/2005 02:58 PM, Uzytkownik Roel van Meer napisal:
> Hi,
>
> When i use vim, changes i make in my crontab entries do not get saved.
> Does anyone have seen this before, or have an idea what may be causing
> it?


Hi - I also have the same problem.
Setting eg. VISUAL=mcedit works fine and changes are saved correctly.
But, there is (in my situation) something strange. When i run:
crontab -e
as root, changes are not saved,
as normal user - everything is all right.

I also have done 'strace' between 2 users. And there is nothing strange
- no important differences.

I'm running slackware 9.1, 10.0 and current.
Vim - tested on 6.2 and 6.3.007

On 3 of 4 machines vim + crontab works fine.
One of them - not

Strace for normal user is here: http://jacek.dyski.one.pl/cron/jacek.txt
Same for root http://jacek.dyski.one.pl/cron/root.txt
Permissions on all machines are the same, so not here is the problem.

Jacek
Reply With Quote