Skip to Content Skip to Menu

Change Default Avatar Gallery

  • gateley
  • gateley
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #164819 by gateley
Change Default Avatar Gallery was created by gateley
Hello, I thought this should be a simple procedure, but it's just not working.
Trying to replace the default avatar image gallery. Found the file images/comprofiler/gallery/
I add other .gifs, but they do not load. Then I tried replacing the original files, but I got a 550 error from the FTP program. Even after logging into the servers file management, I was usable to delete. Tried setting permission to 777 and still nothing. Couldnt even delete the files.

Any clues?

Thanks!

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 7 months ago #164835 by nant
Replied by nant on topic Re: Change Default Avatar Gallery
Permissions issue - most likely with ownership of files/folder.

Please Log in or Create an account to join the conversation.

  • gateley
  • gateley
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #164969 by gateley
Replied by gateley on topic SOLVED
Solved-

Apparently the files were owned by 'apache'.

The other problem was that I could not change the permissions because I cannot log in as apache or root with the correct permissions.

Solution: in the SSH terminal, start with:
su -
password: (root password)

(this switches the user temporarily)

Once you have navigated to the images/comprofiler folder, run these commands:

chown R- username *
chgrp R- username *

where username is the name you have permissions with.
the R- changes the permissions of all the files located within that folder as well.

Finally, use the ls -al to list the files and make sure that the owner and group have been changed.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum