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
1  
Who installs modules by extracting tarballs anymore? Get drupal.org/project/drush –  maristgeek Mar 24 '11 at 23:29
    
drush might not be an option to people who are not using php 5. –  Patrick James McDougle Jan 29 '13 at 14:16

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
    
I run Drush as regular user via sudo and have the same problem as above, which is unfortunate. –  ted.strauss Aug 6 '12 at 15:48

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.