demon_athens Posted September 26, 2008 Share Posted September 26, 2008 Hi there, I migrated a website to another server. I made a tar file and move it to the new server. I extract the contents and I get a very strange issue. Some files while I am on SSH have as owner and group this -> 30 mem When I connect with ftp I see a question mark in the owner column. Those files should be "wwwrun www" and not "30 mem" Is there any chown syntax tha I can change those files to the correct one? Please help, this is a mess... Quote Link to comment https://forums.phpfreaks.com/topic/125965-problem-with-owner-and-group/ Share on other sites More sharing options...
corbin Posted September 26, 2008 Share Posted September 26, 2008 http://en.wikipedia.org/wiki/Chown#Usage (Don't have my linux box running right now, so googled it ;p.) chown -R user /path/to/your/files/ should do it. Quote Link to comment https://forums.phpfreaks.com/topic/125965-problem-with-owner-and-group/#findComment-651507 Share on other sites More sharing options...
demon_athens Posted September 26, 2008 Author Share Posted September 26, 2008 This changes all files and not the ones that is having the problem. Its a joomla cms so you may know the structure ( some files MUST be root user, not all) Quote Link to comment https://forums.phpfreaks.com/topic/125965-problem-with-owner-and-group/#findComment-651519 Share on other sites More sharing options...
corbin Posted September 26, 2008 Share Posted September 26, 2008 Sounds to me like you're going to have to do some stuff manually. There's no magical joomla switch for chown. Quote Link to comment https://forums.phpfreaks.com/topic/125965-problem-with-owner-and-group/#findComment-651581 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.