Previous Thread
Next Thread
Print Thread
Rate Thread
#269752 02/23/2004 2:41 AM
Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
Ever since I moved my 6.4.1 board to a new server, my users can´t change their avatars.

I suppose this could have something to do with file rights, but how do I fix this?

I use a linux server. Can I log in via SSH and run a chmod command on the entire file catalog to set this right?

If that is possible, what settings should I use?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, make sure the permissions and ownership is correct on your new server for the avatar directory.

Try the permissions at 777 and the ownership should be your current web users. Sometimes these get switched to "nobody" in a mod.

I would try:

chmod -R 777 avatardirectory

to fix permissions.

If you need to play with ownership - you can try

chown -R youruser:youruser avatardirectory


Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Yes, but sometimes 777 is not enough. In the past I use a server who run Confixx. This server set the files writen by server itself to the owner 'wwwrun' and not to my name 'web99'. To find out wich owner is used, to the directorycheck from adminpanel and look which owner got the testfile. Then change all files in Avatars, Attachments and logfiles directory to this owner.

Take care for any file that was generated from the admin panel such as stylesheets and languages files. Check out the ownership and permissions of those files too.

If you run PhotoPost do this for every thumbnail and midsize picture.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Then you'd need to change them to the owner that is writing them - the web user (in your case 'wwwrun') that should allow users to change their avatars. Sometimes things get uploaded as 'nobody' so in certain situations you won't be able to modify files like this after they've been uploaded, if the scripts are running as 'nobody' or another user which doesn't have permission to modify files in your webspace you'll be out of luck.

Joined: Sep 2002
Posts: 151
Member
Member
Offline
Joined: Sep 2002
Posts: 151
Looks like chmod -R 777 fixed it!


Thanks!

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)