Modify

Ticket #2338 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

bulkusers script fails...

Reported by: johnm@… Owned by: jacalvo@…
Milestone: 2.0.X Component: base
Severity: normal Keywords: perl bulkusers users bulk import
Cc:

Description

I am having a problem with the bulkusers script. It seemes to be related to Perl. My ebox server run on a Proxmox VE hypervisor under KVM.
The error occure when I try to open the users file from the script. I have tried to open files from other scripts as well, with the same result. Therefore, I figured out that there must be a problem with Perl.

Example:
root@ebox:~# ./bulkusers
Error opening 'users' file: Permission denied at ./bulkusers line 13, <DATA> line 466.

John M

Attachments

Change History

comment:1 Changed 3 years ago by johnm@…

Finally, after removing the EBox libraries, the file was opened. JM

comment:2 Changed 3 years ago by jsoriano@…

  • Status changed from new to closed
  • Resolution set to fixed

Hi,

It seems that root home directory files cannot be read by "ebox" user in Lucid, the script works if you run it in other directory, as in "/tmp". I'll update the wiki page about that ( http://trac.ebox-platform.com/wiki/Document/HowTo/ImportUsersInBulk).

Thanks for reporting.

comment:3 Changed 2 years ago by anonymous

Hi -

I've just had this problem, and I think the wiki entry could be improved.

Could you update this in the "Notes on this users file:" section of the wiki page as well do you think, because the failure is non-obvious?

I just spent a fruitless 15-20 minutes before google saved my bacon.

thanks

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.