On Fri, Jun 30, 2000 at 10:12:11PM -0400, Tom von Schwerdtner wrote:
> >
> > chmod -R a+r /var/www/files
>
> Keep in mind that 'chomd -R' follows sym links so it can cause serious issues
> if you have a link to a downloads direcotry somewhere else on your box.
no it does not follow symlinks:
chmod system call cannot change their permissions. This
is not a problem since the permissions of symbolic links
are never used. However, for each symbolic link listed on
the command line, chmod changes the permissions of the
pointed-to file. In contrast, chmod ignores symbolic
links encountered during recursive directory traversals.
try it for yourself.
--
Ethan Benson
http://www.alaska.net/~erbenson/
Attachment:
pgpJ622Lcsfhh.pgp
Description: PGP signature