-
Notifications
You must be signed in to change notification settings - Fork 19
Open

Description
Hi,
When i added a new incron to a non-root user (whose username is 'myuser'):
incron {'[incron] .bashrc':
user => 'myuser',
command => 'bash -c "cd /home/myuser/scripts/ && ./update-puppet.sh"',
path => '/home/myuser/.bashrc',
mask => ['IN_CREATE', 'IN_DELETE', 'IN_CLOSE_WRITE'],
}
The owner + group of /var/spool/incron/myuser were incorrect:
root ~ ls -l /var/spool/incron/myuser
-rw------- 1 root root 514 Oct 19 10:28 /var/spool/incron/myuser
The owner should be: user:root / group:incron
Because of this, it was impossible to run "incrontab -e" as "myuser".
Could you please fix this bug?
Thank you!
Asher256
Metadata
Metadata
Assignees
Labels
No labels