Skip to content

The owner of /var/spool/incron/USERNAME file #11

@ghost

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions