-4

I would like to rename a login in owncloud.

According to this issue it is to possible at the moment:

https://github.com/owncloud/core/issues/1333

It is 100% ok if it is not possible via web GUI.

But I guess it is possible with shell and sql.

Can someone explain how to do it?

My use case:

I have uploaded a huge directory to the wrong account. Uploading again would take several days.

work around

A different solution would be do move the data from one account to an other.

guettli
  • 3,113
  • 14
  • 59
  • 110

1 Answers1

2

No, renaming the user is not possible as the developer of the system told multiple times on the linked page. They consider the username an immutable ID.

Moving the data from one user to another would be a different question.

Sven
  • 97,248
  • 13
  • 177
  • 225
  • Why is it "not possible"? ... because they consider it immutable. AFAIK I can modify every byte on my hard disk. Maybe the name is stored on several places. Changing a primary key in a database is possible, too. You just need to be sure to update all foreign keys which reference the primary key. – guettli Jun 18 '16 at 19:19
  • Yeah, then have fun doing it, against the recommendation of the developers. Don't expect to get help with it anywhere.... – Sven Jun 18 '16 at 19:20
  • Please define "anywhere". – guettli Jun 18 '16 at 19:22
  • Pick up a dictionary ... – Sven Jun 18 '16 at 19:24