Group ownership of files mysteriously changing

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
I have seen the group of files belonging to other accounts on the server mysteriously change to another user. For example, one file in a users home directory might be:

username.username filename

while another file may be:

username.OTHERusername filename

This has happened before with the user mail, cpanel, etc.. but never to another user on the server.

Any idea why this has happened and how to avoid it in the future?
 

Curious Too

Well-Known Member
Aug 31, 2001
428
1
318
cPanel Access Level
Root Administrator
I have also had this happen. One user entered this support ticket: I
clicked on the \'shopping cart\' option on the control panel, and it created a \'catalogs\' directory off of my home directory. Some of the files/subdirectories are not owned by me, so I can\'t remove them now and they\'re taking up room.\" After I reset the shopping cart he noticed that his disk usage didn\'t go down and asked me to investigate. Running \'find / -user hisusername > file.txt\' showed that someone elses shopping cart had become owned by both his user and group id.

In another instance the home directory on one server had become owned by a user but belonged to the root group.

In a third instance files in one users root directory had become owned by another user. Files in the public_html directory were not affected.

[Edited on 10/19/01 by Curious Too]
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
This is about as serious a bug as you can get! I\'ve entered it into the bugtrack system. Hopefully they\'ll get this resolved soon :)
 

kosmo

Well-Known Member
Verifed Vendor
Aug 12, 2001
403
0
316
All over Europe
[quote:5a74ac7758] what\'s the quickest way to check if my server has the same problem ??
[/quote:5a74ac7758]

ls -al /home

... and you will see that most of the directories are owned by user.another_user

kosmo

[Edited on 10/20/01 by kosmo]
 

carpman

Active Member
Sep 12, 2001
44
0
306
How best to rectify this problem?

I have a few users like this

:(
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
[quote:d1fc7da061]How best to rectify this problem?

I have a few users like this

:( [/quote:d1fc7da061]

I reported this over 3 months ago with no solution to Burst.

But what I\'ve noticed is that by just simply not using the server as far as WHM goes, the ownership problems stopped. My server is maxed out (as far as I want to be in other words) so I haven\'t added or removed an account in about 2 months or so... and use to when I was adding a few a day or week (accounts) I would always have to go back and do a chown -R to reset the permissions. I keep tabs on the server and nothing has messed up since I stopped adding accounts on this particular server.
 

tabernack

Well-Known Member
Aug 12, 2001
103
0
316
well, don\'t mean to rant on about this, but 3 months with no resolution!! I know that cpanel has been aware of this problem for a while now since I\'ve seen it posted on WHT in a thread participated in by Nick.

I\'m a patient man, and I love cpanel\'s features, but I can\'t stand these little bugs!! :D

[Edited on 11/7/01 by tabernack]
 

akashik

Active Member
Oct 9, 2001
34
0
306
same issue here - and noticing it\'s been two weeks since this thread was started... Hmm, wasn\'t there a thread at WHT about how the monthly fee is for *service*? Good thing CPanel wasn\'t an extra on my server or I\'d get to be more disappointed...

Greg Moore
www.akashik.net