Problem chmod 750 after account transfer on domain catalogs

hekri

Well-Known Member
Oct 14, 2003
147
2
168
hello

After accounts transfer from cPanel cPanel 11.24.5-S38506 to the new server on cpanel cPanel 11.25.0-S43473 we have BIG problems with permissions.

Before transfer users have:

user.nobody - public_html chmod 750
domains catalogs in public_html have
user.user - catalog name 755

After accounts transfer

user.nobody - public_html chmod 750
domains catalogs in public_html have
user.nobody - catalog name 750


WHY??? domains catalogs should have the same owner and chmod before transfer account should have user.user 755


How to find all catalogs in public_html and user.nobody and fix it to user.user and fix chmod from 750 to 755???


cPanel should check thise BUG
 

hekri

Well-Known Member
Oct 14, 2003
147
2
168
OK i find the solution:


find /home/users/*/public_html/* -type d -perm 750 -group nobody -exec chmod 755 {} \;
 

MikeDVB

Well-Known Member
PartnerNOC
Jun 4, 2008
220
6
68
Indiana, USA
We had a client who transferred data that had the same issue - I'm not entirely sure why the permissions changed but I've directed them to this thread as maybe you and them can connect some dots and find the cause.