find / -gid 501 = prob
Hi. I am trying to run find to look for any files belonging to user gid 501. I run the command. It takes ages and eventually starts checking my floppy drive. I have checked in /etc/group and user 501 exists. Any advice? The whole script is below.
[root@spc1-seve2-5-0-cust252 root]# cd / [root@spc1-seve2-5-0-cust252 /]# find / -gid 501 find: . changed during execution of find [root@spc1-seve2-5-0-cust252 /]# |
"Hi. I am trying to run find to look for any files belonging to user gid 501. I run the command. It takes ages and eventually starts checking my floppy drive. I have checked in /etc/group and user 501 exists. Any advice? The whole script is below."
You are checking for group id 501 and I think that you intend to check for user id 501. So change find / -gid 501 to find / -uid 501 Also, do you expect to find any of these files anywhere other than in /home? If not then you can save a lot of time with: find /home -uid 501 ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Thats fixed it thanks.
|
All times are GMT -5. The time now is 03:12 AM. |