max symlink = 5? ?bug? ?feature deficit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The maximum number of followed symlinks seems to be set to 5.

This seems small when compared to other filesystem limits.
Is there some objection to it being raised?  Should it be
something like Glib's '20' or '255'?

It would involve a change in include/namei.h and perhaps
a cleanup of the comment (which states the limit is '8') in
namei.c

There is some confusion with the shell utilities thinking
some links are valid, but other utilities giving an error:

> readlink -f cpu/args.t
/usr/src/packages/BUILD/perl-5.8.6/t/op/args.t
> cat cpu/args.t
cat: cpu/args.t: Too many levels of symbolic links
> namei cpu/args.t
f: cpu/args.t
d cpu
l args.t -> ../op/args.t
  d ..
  l op -> ../t/op/
    d ..
    l t -> perldir/t
      l perldir -> perl-5.8.6
        l perl-5.8.6 -> ../build/perl-5.8.6
          d ..
          l build -> BUILD
            d BUILD
          d perl-5.8.6
      d t
    d op
  - args.t

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux