changing username does not carry though to file ownership

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

changing username does not carry though to file ownership

Post by cnymike »

IN CMS 1.6.7, I have discovered what I believe is a bug in the username function. I have submitted this to forge but am also posting it here for review and comment.

If I take an existing username and then change it to something else, logout, then login with the newly changed username, then upload a file using file-manager, the file is shown as being owned by the old username, not the new username.

http://screencast.com/t/MzNiMjUwN2Ut
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: changing username does not carry though to file ownership

Post by calguy1000 »

This is not a bug.

CMSMS usernames are not system usernames.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: changing username does not carry though to file ownership

Post by cnymike »

So how is the system username determined initially? And how is the system username changed?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: changing username does not carry though to file ownership

Post by Rolf »

The FileOwner name in FileManager is probably the name you use with the website/host account.
Like Calguy said, it is not the same as your CMSMS loginname
When you login as Kate, the FileOwner name shall also be cnymike

You have to contact your webhost to change this name.

Reg. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”