solved SOLVED - MOD SuPHP and Jamroom

MAD
MAD
@madc
11 years ago
600 posts
Hey guys. Having a few issues with upgrading to 5.1.2 as all perms
are set to 777 instead of 755 for Mod SuPHP.
Even if I upload them as the user through FTP they are still 777.
We have a dedicated server which is running Mod SuPHP. ( Dont ask )
I could change the perms sitewide using terminal but there must be another way ???

Is there anyway to upgrade easily with Jamroom as it keeps throwing 500 errors due to the permission issue ( I am Guessing )
Any help would be appreciated as our server just won't serve 777 files.
( And no we can't change it for reasons. )





--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 01/21/14 05:01:15AM
MAD
MAD
@madc
11 years ago
600 posts
Actually im wondering why everything comes through as 755 or 777?
shouldn't it be 755 and 644 for files?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
ba9801:
Actually im wondering why everything comes through as 755 or 777?
shouldn't it be 755 and 644 for files?

Yes it should, and that is normally how it works (or at least it does for me here on my Linux server). Make sure you have not changed the default umask for your system (how you do that I don't know).

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
Uploading JR5 is the only problem I have ever had with Permissions.
Are they created with 777 as default?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
ba9801:
Uploading JR5 is the only problem I have ever had with Permissions.
Are they created with 777 as default?

No - any files/folders are created using whatever your servers umask is set to.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
Yeah that's what is confusing? It is set to 0022 which should set files to 644 and folders to 755. So i'm stumped. For now I am using terminal to run a recursive permission change in my site directory but I don't like doing that in case of security issues. Any idea why my umask is not changing the folders and files permissions?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
MAD
MAD
@madc
11 years ago
600 posts
ok . You know when you have one of those days and something finally clicks? Well that is me . I was uploading as the root user. My apologies for wasting your time Brian. As soon as I tested with a normal user account the permissions were fine.
Thanks for everything


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
No worries - just glad to know it is working now.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags