| Deutsch English Français Italiano |
|
<101jk7i$34erh$1@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: encapsulating directory operations Date: Mon, 2 Jun 2025 09:35:24 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: <101jk7i$34erh$1@raubtier-asyl.eternal-september.org> References: <100h650$23r5l$1@dont-email.me> <100hase$24odp$1@dont-email.me> <101e738$vrrm$1@raubtier-asyl.eternal-september.org> <101ft3d$1feqh$2@dont-email.me> <101gq6l$1rdgj$1@raubtier-asyl.eternal-september.org> <101h0an$1tkqk$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 02 Jun 2025 09:35:15 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="5748365729b9eccc2a5de501fd90bcc5"; logging-data="3292017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ntVdh4KUH/8siWPUazyQ5qKdoCSgQ6H0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:2oK2QbtiEMeV5SeE3V0BqCVcVjg= Content-Language: de-DE In-Reply-To: <101h0an$1tkqk$1@dont-email.me> Bytes: 1745 Am 01.06.2025 um 09:43 schrieb Lawrence D'Oliveiro: > On Sun, 1 Jun 2025 07:58:54 +0200, Bonita Montero wrote: >> Sth. like this: >> >> for( directory_entry const &de : recursive_directory_iterator( "\\", >> directory_options::follow_directory_symlink ) ) >> cout << de.path() << endl; > You need the dirfd functions to avoid certain potential security holes > on operations with symlinks. Which security holes ?