Stevan Goode wrote:
The PHP script will show up folders that don't have the right owner. If
there's another problem (not just users being deleted) then just
checking if the user exists may not work.

No, but in this case I'd established more clearly what the problem was
so it made it easier. Hence my comment "I can simplify the job (by
completely changing the spec :-)"; your code was better at what I
originally asked.

Supplementary question: is there any way to avoid the re-use of user
IDs? If nothing else it seems like a bit of security risk.

Also, is there a quick way to find all files owned by a specific user?
"find / -user XXX" works but takes a long time on a large system.

--
Mark Rogers
More Solutions Ltd :: 0845 45 89 555

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to