Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In a Drupal installation on CentOS, there are many folders with the following permission:

drwxr-xr-x  8    6226    6226 4096 Jan  7 21:46 cck

The user/group 6226 was not created by me. How come there is such a user/group? Thanks!

share|improve this question

3 Answers 3

up vote 6 down vote accepted

CCK is a plugin. Did you perhaps download the tar file and extract it while logged in as root? If so the permissions in the archive would be used on the filesystem when extracted.

share|improve this answer

To improve security, one normally installs subsystems like Drupal with their own uid/gid. The bug here is that the package failed to create the relevant user and group entries (or, if it was a tarball instead of a distribution package, that you haven't run some post-install script).

share|improve this answer

6226:6226 permission happens when you are running tar or drush as root. Try running it as a non-root user who is part of the www-data (or whatever your apache user is). Doing this way all files will have ownership as user:www-data

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.7.25.1727\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Server Fault works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </noscr"], "copyright__copyright__copyright": ["st-install script).\n\nshare|improve this answer\n\n6226:6226 permission happens when you are running tar or drush as root. Try running it as a non-root user who is part of the www-data (or whatever your apache user is). Doing this way all files will have ownership as user:www-data\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}