Re: symbolic links, unreadable files, skip

Shigio YAMAGUCHI <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYr9NNi70Z9qR3ngTu1AjiHpC2mgjjEv-xxmea8ovphnSg@mail.gmail.com>
Hi,
I don't think such option is useful. Because something obtained
with that is an incomplete one. To get an appropriate permission
bears a better result, I think.
By the way, gtags ignores orphaned symbolic links.

If you would like to skip unreadable files, you can use cp(1)
like follows:

$ cp -r tangled readable
... some warning messages ...
$ cd readable
$ gtags

Regards
Shigio


2015-08-26 19:26 GMT+09:00 Marcus Harnisch <[email protected]>:

>
>    - What is your environment (OS)?
>
> Red Hat Enterprise Linux release 6.6 (Santiago)
>
>    - Which version of GLOBAL are you using?
>
> gtags (GNU GLOBAL) 6.5
>
>    - What did you do? (command line)
>
> gtags --gtagslabel myconfig --explain >& gtags.log
>
>    - What was occurred? (as is)
>
> In a rather huge and tangled directory tree, for which I have not the
> permissions necessary to clean up, gtags fails when encountering files
> which are unreadable according to my user permissions. Some of these are
> non-existent (or otherwise unreadable) link targets.
> Including the link target in skip doesn't have any effect.
>
>    - What did you expect from it?
>
>
>    1. There should be an option for skipping files that can't be read.
>    2. It should be possible to apply skip rules to both, the link itself
>    and the link target. Example: There could be many individual links
>    (difficult to capture in skip), all pointing to somewhere inside an
>    unreadable directory tree.
>
> Best regards
> Marcus
>
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>
>


-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.