[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 22/09/11 11:24, Gibbs wrote: > Is there anything out there that can help to get an overview of a > directory structure and the permissions? I need to look into a shared > hosting environment that has a lot of directories and files and was > curious if there is anything to make my life a bit easier. At the moment > I am manually viewing the permissions or searching for specific ones. In > other words how do you go about managing the permissions on a complex > structure you know nothing about? I think ensure the defaults are right, then have a script that find exceptions to policy. I use GNU find for this since it can do fairly sensible rule following using "-perm" with the "/" syntax, which is probably not especially efficient but it works. That said permissions in shared hosting are notoriously complex. Simon -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq