RexOps / repositorio

Tool to administrate linux repositories
http://www.repositor.io/
55 stars 18 forks source link

Fix #49 'mkdir File::Path: Permission denied' error #48

Open JoyceBabu opened 7 years ago

JoyceBabu commented 7 years ago

When running repositor --repo=reponame --init as a non root user, I was getting the error

mkdir File::Path: Permission denied at /usr/local/share/perl/5.20.2/Rex/Repositorio/Repository/Apt.pm line 421.

The repositor user had read/write permission on the /var/www/repo directory. The Yum repository initialization was working correctly. So I updated Apt.pm as per Yum.pm, and the error went away.

Fixes #49