Debian Codegraph @

po/pl/man2/access.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Michał Kułach <[email protected]>, 2024, 2025, 2026.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:17+0200\n"
11 "PO-Revision-Date: 2026-03-15 13:19+0100\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20 "X-Generator: Lokalize 25.04.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "access"
27 msgstr "access"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAZWA"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "access, faccessat, faccessat2 - check user's permissions for a file"
53 msgstr "access, faccessat, faccessat2 - sprawdza prawa użytkownika do pliku"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTEKA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SKŁADNIA"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int access(const char *>I<path>B<, int >I<mode>B<);>\n"
87 msgstr "B<int access(const char *>I<path>B<, int >I<mode>B<);>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid ""
94 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
95 "B<#include E<lt>unistd.hE<gt>>\n"
96 msgstr ""
97 "B<#include E<lt>fcntl.hE<gt>> /* Definicja stałych B<AT_*> */\n"
98 "B<#include E<lt>unistd.hE<gt>>\n"
99
100 #. type: Plain text
101 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
102 #: opensuse-tumbleweed
103 #, no-wrap
104 msgid ""
105 "B<int faccessat(int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
106 " /* But see C library/kernel differences, below */\n"
107 msgstr ""
108 "B<int faccessat(int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
109 " /* Różnice między biblioteką C a jądrem opisano poniżej */\n"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid ""
116 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
117 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
118 "B<#include E<lt>unistd.hE<gt>>\n"
119 msgstr ""
120 "B<#include E<lt>fcntl.hE<gt>> /* Definicja stałych B<AT_*> */\n"
121 "B<#include E<lt>sys/syscall.hE<gt>> /* Definicja stałych B<SYS_*> */\n"
122 "B<#include E<lt>unistd.hE<gt>>\n"
123
124 #. type: Plain text
125 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
126 #: opensuse-tumbleweed
127 #, no-wrap
128 msgid ""
129 "B<int syscall(SYS_faccessat2,>\n"
130 "B< int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
131 msgstr ""
132 "B<int syscall(SYS_faccessat2,>\n"
133 "B< int >I<dirfd>B<, const char *>I<path>B<, int >I<mode>B<, int >I<flags>B<);>\n"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
140 msgstr ""
141 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid "B<faccessat>():"
147 msgstr "B<faccessat>():"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid ""
154 " Since glibc 2.10:\n"
155 " _POSIX_C_SOURCE E<gt>= 200809L\n"
156 " Before glibc 2.10:\n"
157 " _ATFILE_SOURCE\n"
158 msgstr ""
159 " Od glibc 2.10:\n"
160 " _POSIX_C_SOURCE E<gt>= 200809L\n"
161 " Przed glibc 2.10:\n"
162 " _ATFILE_SOURCE\n"
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "DESCRIPTION"
169 msgstr "OPIS"
170
171 #. type: Plain text
172 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
173 #: opensuse-tumbleweed
174 msgid ""
175 "B<access>() checks whether the calling process can access the file "
176 "I<path>. If I<path> is a symbolic link, it is dereferenced."
177 msgstr ""
178 "B<access>() sprawdza, czy wywołujący proces ma dostęp do pliku I<path>. "
179 "Jeśli I<path> jest dowiązaniem symbolicznym, jest rozwiązywana."
180
181 #. F_OK is defined as 0 on every system that I know of.
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "The I<mode> specifies the accessibility check(s) to be performed, and is "
187 "either the value B<F_OK>, or a mask consisting of the bitwise OR of one or "
188 "more of B<R_OK>, B<W_OK>, and B<X_OK>. B<F_OK> tests for the existence of "
189 "the file. B<R_OK>, B<W_OK>, and B<X_OK> test whether the file exists and "
190 "grants read, write, and execute permissions, respectively."
191 msgstr ""
192 "I<Mode> określa jakie sprawdzenia dostępności mają być wykonane i jest albo "
193 "wartością B<F_OK> albo maską zawierającą sumę logiczną jednego lub więcej z "
194 "B<R_OK>, B<W_OK> i B<X_OK>. B<F_OK> sprawdza istnienie pliku. B<R_OK>, "
195 "B<W_OK> i B<X_OK> sprawdzają pod kątem istnienia pliku i, odpowiednio, "
196 "uprawnień odczytu, zapisu i wykonania."
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "The check is done using the calling process's I<real> UID and GID, rather "
203 "than the effective IDs as is done when actually attempting an operation "
204 "(e.g., B<open>(2)) on the file. Similarly, for the root user, the check "
205 "uses the set of permitted capabilities rather than the set of effective "
206 "capabilities; and for non-root users, the check uses an empty set of "
207 "capabilities."
208 msgstr ""
209 "Sprawdzenie jest wykonywane za pomocą I<prawdziwych> identyfikatorów "
210 "użytkownika i grupy procesu, zamiast identyfikatorów efektywnych, jak dzieje "
211 "się przy rzeczywistej próbie wykonania operacji (np. B<open>(2)) na pliku. "
212 "Podobnie, w przypadku użytkownika root, sprawdzenie używa zestawu "
213 "przywilejów (ang. capabilities) dozwolonych zamiast zestawu przywilejów "
214 "efektywnych; w przypadku użytkowników innych niż root, sprawdzenie używa "
215 "pustego zestawu przywilejów."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "This allows set-user-ID programs and capability-endowed programs to easily "
222 "determine the invoking user's authority. In other words, B<access>() does "
223 "not answer the \"can I read/write/execute this file?\" question. It answers "
224 "a slightly different question: \"(assuming I'm a setuid binary) can I<the "
225 "user who invoked me> read/write/execute this file?\", which gives set-user-"
226 "ID programs the possibility to prevent malicious users from causing them to "
227 "read files which users shouldn't be able to read."
228 msgstr ""
229 "Pozwala to programom korzystającym z ustawienia ID użytkownika podczas "
230 "wykonania (suid) oraz programom obsługującym przywileje (ang. capabilities) "
231 "na łatwe określenie uprawnień wywołującego użytkownika. Innymi słowy, "
232 "B<access>() nie odpowiada na pytanie \"czy mogę odczytać/zapisać/wykonać ten "
233 "plik?\". Odpowiada na nieco inne \"(zakładając, że jestem plikiem "
234 "wykonywalnym korzystającym z suid) czy I<użytkownik, który mnie wywołał> "
235 "może odczytać/zapisać/wykonać ten plik?\". Daje to programom korzystającym z "
236 "suid możliwość uniemożliwienia zmuszania ich przez złośliwych użytkowników "
237 "do odczytywania plików, których ci użytkownicy nie powinni móc odczytywać."
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "If the calling process is privileged (i.e., its real UID is zero), then an "
244 "B<X_OK> check is successful for a regular file if execute permission is "
245 "enabled for any of the file owner, group, or other."
246 msgstr ""
247 "Jeśli wywołujący proces jest uprzywilejowany (tzn. jego identyfikator "
248 "użytkownika wynosi zero), to sprawdzenie B<X_OK> kończy się sukcesem, jeśli "
249 "zwykły plik posiada uprawnienie wykonania dla dowolnego właściciela pliku, "
250 "grupy itp."
251
252 #. type: SS
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "faccessat()"
257 msgstr "faccessat()"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "B<faccessat>() operates in exactly the same way as B<access>(), except for "
264 "the differences described here."
265 msgstr ""
266 "Wywołanie systemowe B<faccessat>() operuje w dokładnie taki sam sposób jak "
267 "B<access>(), z wyjątkiem różnic opisanych tutaj."
268
269 #. type: Plain text
270 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
271 #: opensuse-tumbleweed
272 msgid ""
273 "If I<path> is relative, then it is interpreted relative to the directory "
274 "referred to by the file descriptor I<dirfd> (rather than relative to the "
275 "current working directory of the calling process, as is done by B<access>() "
276 "for a relative pathname)."
277 msgstr ""
278 "Jeśli ścieżka I<path> jest względna, jest to interpretowane w odniesieniu do "
279 "katalogu do którego odnosi się deskryptor pliku I<dirfd> (zamiast w "
280 "odniesieniu do bieżącego katalogu roboczego procesu wywołującego, jak w "
281 "stosunku do ścieżek względnych robi to B<access>())."
282
283 #. type: Plain text
284 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 msgid ""
287 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
288 "I<path> is interpreted relative to the current working directory of the "
289 "calling process (like B<access>())."
290 msgstr ""
291 "Jeśli I<path> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, to "
292 "I<pathname> jest interpretowana w odniesieniu do bieżącego katalogu "
293 "roboczego procesu wywołującego (jak B<access>())."
294
295 #. type: Plain text
296 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 msgid "If I<path> is absolute, then I<dirfd> is ignored."
299 msgstr "Jeśli ścieżka I<path> jest bezwzględna, to I<dirfd> jest ignorowane."
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "I<flags> is constructed by ORing together zero or more of the following "
306 "values:"
307 msgstr ""
308 "Parametr I<flags> jest tworzony jako suma logiczna (OR) zera lub większej "
309 "liczby następujących wartości:"
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "B<AT_EACCESS>"
316 msgstr "B<AT_EACCESS>"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "Perform access checks using the effective user and group IDs. By default, "
323 "B<faccessat>() uses the real IDs (like B<access>())."
324 msgstr ""
325 "Przeprowadza sprawdzenie za pomocą efektywnych identyfikatorów użytkownika i "
326 "grupy. Domyślnie B<faccessat>() używa identyfikatorów rzeczywistych (jak "
327 "B<access>())."
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<AT_EMPTY_PATH> (since Linux 5.8)"
334 msgstr "B<AT_EMPTY_PATH> (od Linuksa 5.8)"
335
336 #. type: Plain text
337 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
338 #: opensuse-tumbleweed
339 msgid ""
340 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
341 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
342 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
343 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
344 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
345 "definition."
346 msgstr ""
347 "Jeśli I<path> jest pustym łańcuchem, działa na pliku do którego odnosi się "
348 "I<dirfd> (który mógł być pozyskany za pomocą znacznika B<O_PATH> "
349 "B<open>(2)). W tym przypadku I<dirfd> może odnosić się do dowolnego typu "
350 "pliku, a nie tylko katalogu. Jeśli I<dirfd> wynosi B<AT_FDCWD>, to wywołanie "
351 "działa na bieżącym katalogu roboczym. Znacznik ten jest charakterystyczny "
352 "dla Linuksa; należy zdefiniować B<_GNU_SOURCE>, aby pozyskać jego definicję."
353
354 #. type: TP
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "B<AT_SYMLINK_NOFOLLOW>"
359 msgstr "B<AT_SYMLINK_NOFOLLOW>"
360
361 #. type: Plain text
362 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
363 #: opensuse-tumbleweed
364 msgid ""
365 "If I<path> is a symbolic link, do not dereference it: instead return "
366 "information about the link itself."
367 msgstr ""
368 "Jeśli I<path> jest dowiązaniem symbolicznym, nie rozwiązuje go: w zamian "
369 "zwraca informacje o samym dowiązaniu."
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid "See B<openat>(2) for an explanation of the need for B<faccessat>()."
375 msgstr ""
376 "Więcej informacji o potrzebie wprowadzenia B<faccessat>() można znaleźć w "
377 "podręczniku B<openat>(2)."
378
379 #. type: SS
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "faccessat2()"
384 msgstr "faccessat2()"
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "The description of B<faccessat>() given above corresponds to POSIX.1 and to "
391 "the implementation provided by glibc. However, the glibc implementation was "
392 "an imperfect emulation (see BUGS) that papered over the fact that the raw "
393 "Linux B<faccessat>() system call does not have a I<flags> argument. To "
394 "allow for a proper implementation, Linux 5.8 added the B<faccessat2>() "
395 "system call, which supports the I<flags> argument and allows a correct "
396 "implementation of the B<faccessat>() wrapper function."
397 msgstr ""
398 "Powyższy opis B<faccessat>() odnosi się do POSIX.1 i implementacji "
399 "dostarczonej przez glibc. Implementacja glibc nie była jednak wiernym "
400 "odwzorowaniem (zob. USTERKI), która prześlizgnęła się nad faktem, że surowe "
401 "wywołanie linuksowe B<faccessat>() nie posiadało argumentu I<flags>. W celu "
402 "poprawnej implementacji, Linux 5.8 dodał wywołanie systemowe "
403 "B<faccessat2>(), które obsługuje argument I<flags> i pozwala na prawidłową "
404 "implementację funkcji opakowującej B<faccessat>()."
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "RETURN VALUE"
411 msgstr "WARTOŚĆ ZWRACANA"
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "On success (all requested permissions granted, or I<mode> is B<F_OK> and the "
418 "file exists), zero is returned. On error (at least one bit in I<mode> asked "
419 "for a permission that is denied, or I<mode> is B<F_OK> and the file does not "
420 "exist, or some other error occurred), -1 is returned, and I<errno> is set to "
421 "indicate the error."
422 msgstr ""
423 "Gdy wszystko pójdzie dobrze (wszystkie żądane prawa są zapewnione, lub "
424 "I<mode> wynosi B<F_OK> i plik istnieje), zwracane jest zero. W wypadku błędu "
425 "(przynajmniej jeden bit z żądanych w I<mode> uprawnień nie jest ustawiony, "
426 "I<mode> wynosi B<F_OK> i plik nie istnieje lub wystąpiły inne błędy), "
427 "zwracane jest -1 i ustawiane jest I<errno> wskazując błąd."
428
429 #. type: SH
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "ERRORS"
434 msgstr "BŁĘDY"
435
436 #. type: TP
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "B<EACCES>"
441 msgstr "B<EACCES>"
442
443 #. type: Plain text
444 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
445 #: opensuse-tumbleweed
446 msgid ""
447 "The requested access would be denied to the file, or search permission is "
448 "denied for one of the directories in the path prefix of I<path>. (See also "
449 "B<path_resolution>(7).)"
450 msgstr ""
451 "Brak uprawnień dla żądanego dostępu do pliku, albo brak uprawnień do "
452 "przeglądania któregoś z katalogów w ścieżce I<path> (zob. też "
453 "B<path_resolution>(7))."
454
455 #. type: TP
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "B<EBADF>"
460 msgstr "B<EBADF>"
461
462 #. type: Plain text
463 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
464 #: opensuse-tumbleweed
465 msgid ""
466 "(B<faccessat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
467 "(B<faccessat>()) nor a valid file descriptor."
468 msgstr ""
469 "(B<faccessat>()) I<path> jest względna, lecz I<dirfd> nie wynosi ani "
470 "B<AT_FDCWD> (B<faccessat>()), ani nie jest prawidłowym deskryptorem pliku."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "B<EFAULT>"
477 msgstr "B<EFAULT>"
478
479 #. type: Plain text
480 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
481 #: opensuse-tumbleweed
482 msgid "I<path> points outside your accessible address space."
483 msgstr "I<path> wskazuje poza dostępną dla użytkownika przestrzeń adresową."
484
485 #. type: TP
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 #, no-wrap
489 msgid "B<EINVAL>"
490 msgstr "B<EINVAL>"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid "I<mode> was incorrectly specified."
496 msgstr "I<mode> zostało nieprawidłowo podane."
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 msgid "(B<faccessat>()) Invalid flag specified in I<flags>."
502 msgstr "(B<faccessat>()) Podano nieprawidłową opcję w I<flags>."
503
504 #. type: TP
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "B<EIO>"
509 msgstr "B<EIO>"
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 msgid "An I/O error occurred."
515 msgstr "Wystąpił błąd wejścia/wyjścia."
516
517 #. type: TP
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "B<ELOOP>"
522 msgstr "B<ELOOP>"
523
524 #. type: Plain text
525 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
526 #: opensuse-tumbleweed
527 msgid "Too many symbolic links were encountered in resolving I<path>."
528 msgstr ""
529 "Podczas rozwiązywania I<path> napotkano zbyt wiele dowiązań symbolicznych."
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<ENAMETOOLONG>"
536 msgstr "B<ENAMETOOLONG>"
537
538 #. type: Plain text
539 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
540 #: opensuse-tumbleweed
541 msgid "I<path> is too long."
542 msgstr "I<path> jest zbyt długie."
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "B<ENOENT>"
549 msgstr "B<ENOENT>"
550
551 #. type: Plain text
552 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
553 #: opensuse-tumbleweed
554 msgid "A component of I<path> does not exist or is a dangling symbolic link."
555 msgstr ""
556 "Składowa I<path> nie istnieje lub jest wiszącym dowiązaniem symbolicznym."
557
558 #. type: TP
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "B<ENOMEM>"
563 msgstr "B<ENOMEM>"
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid "Insufficient kernel memory was available."
569 msgstr "Brak pamięci jądra."
570
571 #. type: TP
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "B<ENOTDIR>"
576 msgstr "B<ENOTDIR>"
577
578 #. type: Plain text
579 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
580 #: opensuse-tumbleweed
581 msgid ""
582 "A component used as a directory in I<path> is not, in fact, a directory."
583 msgstr ""
584 "Składowa I<path>, która powinna być katalogiem, w rzeczywistości katalogiem "
585 "nie jest."
586
587 #. type: Plain text
588 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
589 #: opensuse-tumbleweed
590 msgid ""
591 "(B<faccessat>()) I<path> is relative and I<dirfd> is a file descriptor "
592 "referring to a file other than a directory."
593 msgstr ""
594 "(B<faccessat>()) I<path> jest względna, a I<dirfd> jest deskryptorem pliku "
595 "odnoszącym się do pliku zamiast do katalogu."
596
597 #. type: TP
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "B<EPERM>"
602 msgstr "B<EPERM>"
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid ""
608 "Write permission was requested to a file that has the immutable flag set. "
609 "See also B<FS_IOC_SETFLAGS>(2const)."
610 msgstr ""
611 "Żądano zapisu do pliku z ustawionym znacznikiem niezmienności. Zob. też "
612 "B<FS_IOC_SETFLAGS>(2const)."
613
614 #. type: TP
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "B<EROFS>"
619 msgstr "B<EROFS>"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid "Write permission was requested for a file on a read-only filesystem."
625 msgstr "Żądano zapisu do pliku położonego w systemie plików tylko do odczytu."
626
627 #. type: TP
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<ETXTBSY>"
632 msgstr "B<ETXTBSY>"
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid "Write access was requested to an executable which is being executed."
638 msgstr ""
639 "Wystąpiła próba dostępu z prawem zapisu do pliku aktualnie uruchomionego "
640 "programu."
641
642 #. type: SH
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "VERSIONS"
647 msgstr "WERSJE"
648
649 #. HPU-UX 11 and Tru64 5.1 do this.
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "If the calling process has appropriate privileges (i.e., is superuser), "
655 "POSIX.1-2001 permits an implementation to indicate success for an B<X_OK> "
656 "check even if none of the execute file permission bits are set. Linux does "
657 "not do this."
658 msgstr ""
659 "Jeśli proces posiada odpowiednie uprawnienia (tj. jest superużytkownikiem), "
660 "POSIX.1-2001 zezwala na implementację wskazującą pomyślne zakończenie dla "
661 "sprawdzenia B<X_OK> nawet wtedy, gdy nie jest ustawiony żaden z bitów "
662 "uruchamialności w prawach dostępu do pliku. Linux tego nie czyni."
663
664 #. type: SS
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "C library/kernel differences"
669 msgstr "Różnice biblioteki C/jądra"
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "The raw B<faccessat>() system call takes only the first three arguments. "
676 "The B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are actually implemented "
677 "within the glibc wrapper function for B<faccessat>(). If either of these "
678 "flags is specified, then the wrapper function employs B<fstatat>(2) to "
679 "determine access permissions, but see BUGS."
680 msgstr ""
681 "Surowe wywołanie systemowe B<faccessat>() przyjmuje jedynie trzy pierwsze "
682 "argumenty. Znaczniki B<AT_EACCESS> i B<AT_SYMLINK_NOFOLLOW> są faktycznie "
683 "zaimplementowane w opakowującej funkcji glibc do B<faccessat>(). Jeśli nie "
684 "podano żadnego z tych znaczników, funkcja opakowująca używa B<fstatat>(2) do "
685 "określenia uprawnień dostępu, zob. jednak USTERKI."
686
687 #. type: SS
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "glibc notes"
692 msgstr "Uwagi dla glibc"
693
694 #. type: Plain text
695 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
696 #: opensuse-tumbleweed
697 msgid ""
698 "On older kernels where B<faccessat>() is unavailable (and when the "
699 "B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are not specified), the glibc "
700 "wrapper function falls back to the use of B<access>(). When I<path> is "
701 "relative, glibc constructs a pathname based on the symbolic link in I</proc/"
702 "self/fd> that corresponds to the I<dirfd> argument."
703 msgstr ""
704 "Na starszych wersjach jądra Linux, gdzie B<faccessat>() nie jest dostępne (i "
705 "gdzie znaczniki B<AT_EACCESS> oraz B<AT_SYMLINK_NOFOLLOW> nie są określone), "
706 "funkcja opakowująca z glibc wraca do używania B<access>(). Gdy I<path> jest "
707 "względna, glibc konstruuje ścieżkę na bazie dowiązania symbolicznego w I</"
708 "proc/self/fd>, które odpowiada argumentowi I<dirfd>."
709
710 #. type: SH
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "STANDARDS"
715 msgstr "STANDARDY"
716
717 #. type: TP
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "B<access>()"
722 msgstr "B<access>()"
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "B<faccessat>()"
729 msgstr "B<faccessat>()"
730
731 #. type: Plain text
732 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
733 #: opensuse-tumbleweed
734 msgid "POSIX.1-2024."
735 msgstr "POSIX.1-2024."
736
737 #. type: TP
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 #, no-wrap
741 msgid "B<faccessat2>()"
742 msgstr "B<faccessat2>()"
743
744 #. type: Plain text
745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
746 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
747 msgid "Linux."
748 msgstr "Linux."
749
750 #. type: SH
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "HISTORY"
755 msgstr "HISTORIA"
756
757 #. type: Plain text
758 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
759 #: opensuse-tumbleweed
760 msgid "4.3BSD, SVr4, POSIX.1-1988."
761 msgstr "4.3BSD, SVr4, POSIX.1-1988."
762
763 #. type: Plain text
764 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
765 #: opensuse-tumbleweed
766 msgid "Linux 2.6.16, glibc 2.4, POSIX.1-2008."
767 msgstr "Linux 2.6.16, glibc 2.4, POSIX.1-2008."
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid "Linux 5.8."
773 msgstr "Linux 5.8."
774
775 #. type: SH
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "NOTES"
780 msgstr "UWAGI"
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "B<Warning>: Using these calls to check if a user is authorized to, for "
787 "example, open a file before actually doing so using B<open>(2) creates a "
788 "security hole, because the user might exploit the short time interval "
789 "between checking and opening the file to manipulate it. B<For this reason, "
790 "the use of this system call should be avoided>. (In the example just "
791 "described, a safer alternative would be to temporarily switch the process's "
792 "effective user ID to the real ID and then call B<open>(2).)"
793 msgstr ""
794 "B<Ostrzeżenie>: Użycie tych wywołań w celu sprawdzenia, czy użytkownik ma "
795 "uprawnienia na przykład do otwarcia pliku, przed otwarciem tego pliku za "
796 "pomocą B<open>(2) tworzy lukę bezpieczeństwa, ponieważ użytkownik może "
797 "wykorzystać krótki moment pomiędzy sprawdzeniem pliku a otwarciem go do "
798 "manipulacji na pliku. B<Z tego powodu należy unikać używania niniejszego "
799 "wywołania systemowego> (w opisanym właśnie przykładzie, bezpieczniejszą "
800 "alternatywą byłoby tymczasowe przełączenie efektywnego identyfikatora "
801 "użytkownika na jego identyfikator rzeczywisty, a następnie wywołanie "
802 "B<open>(2))."
803
804 #. type: Plain text
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 msgid ""
808 "B<access>() always dereferences symbolic links. If you need to check the "
809 "permissions on a symbolic link, use B<faccessat>() with the flag "
810 "B<AT_SYMLINK_NOFOLLOW>."
811 msgstr ""
812 "B<access>() zawsze podąża za dowiązaniami symbolicznymi. Jeśli konieczne "
813 "jest sprawdzenie uprawnień samego dowiązania symbolicznego, należy użyć "
814 "B<faccessat>() ze znacznikiem B<AT_SYMLINK_NOFOLLOW>."
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid ""
820 "These calls return an error if any of the access types in I<mode> is denied, "
821 "even if some of the other access types in I<mode> are permitted."
822 msgstr ""
823 "Te wywołania zwracają błąd, jeśli jakikolwiek z żądanych w I<mode> rodzajów "
824 "dostępu zostanie odmówiony, nawet jeśli pozostałe typy dostępu z I<mode> są "
825 "dozwolone."
826
827 #. type: Plain text
828 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
829 #: opensuse-tumbleweed
830 msgid ""
831 "A file is accessible only if the permissions on each of the directories in "
832 "the path prefix of I<path> grant search (i.e., execute) access. If any "
833 "directory is inaccessible, then the B<access>() call fails, regardless of "
834 "the permissions on the file itself."
835 msgstr ""
836 "Plik jest dostępny tylko wówczas, gdy uprawnienia każdego z katalogów w jego "
837 "ścieżce I<path> przyznają dostęp do przeszukiwania (tj. wykonania). Jeśli "
838 "dowolny katalog jest niedostępny, to wywołanie B<access>() zawiedzie, "
839 "niezależnie od uprawnień samego pliku."
840
841 #. type: Plain text
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 msgid ""
845 "Only access bits are checked, not the file type or contents. Therefore, if "
846 "a directory is found to be writable, it probably means that files can be "
847 "created in the directory, and not that the directory can be written as a "
848 "file. Similarly, a DOS file may be reported as executable, but the "
849 "B<execve>(2) call will still fail."
850 msgstr ""
851 "Sprawdzane są jedynie bity dostępu, nie zawartość pliku czy jego typ. "
852 "Dlatego, jeśli katalog okazuje się \"zapisywalny\", znaczy to "
853 "prawdopodobnie, że można w nim tworzyć pliki, a nie, że do katalogu można "
854 "pisać jak do pliku. Podobnie, plik dosowy może zostać zgłoszony jako "
855 "\"wykonywalny\", lecz funkcja B<execve>(2) mimo to zawiedzie."
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "These calls may not work correctly on NFSv2 filesystems with UID mapping "
862 "enabled, because UID mapping is done on the server and hidden from the "
863 "client, which checks permissions. (NFS versions 3 and higher perform the "
864 "check on the server.) Similar problems can occur to FUSE mounts."
865 msgstr ""
866 "Wywołania te mogą nie działać prawidłowo na systemach plików NFSv2 z "
867 "włączonym mapowaniem UID, ponieważ mapowanie to jest dokonywane na serwerze "
868 "i ukryte przed klientem sprawdzającym prawa dostępu (NFS w wersji 3 i "
869 "wyższej dokonują sprawdzeń na serwerze). Podobny problem może wystąpić przy "
870 "montowaniach FUSE."
871
872 #. type: SH
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 #, no-wrap
876 msgid "BUGS"
877 msgstr "USTERKI"
878
879 #. type: Plain text
880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
882 msgid ""
883 "Because the Linux kernel's B<faccessat>() system call does not support a "
884 "I<flags> argument, the glibc B<faccessat>() wrapper function provided in "
885 "glibc 2.32 and earlier emulates the required functionality using a "
886 "combination of the B<faccessat>() system call and B<fstatat>(2). However, "
887 "this emulation does not take ACLs into account. Starting with glibc 2.33, "
888 "the wrapper function avoids this bug by making use of the B<faccessat2>() "
889 "system call where it is provided by the underlying kernel."
890 msgstr ""
891 "Ze względu na to, że wywołanie systemowe jądra Linux B<faccessat>() nie "
892 "obsługuje argumentu I<flags>, funkcja opakowująca B<faccessat>() z glibc "
893 "udostępniona w glibc 2.32 i wcześniejszych, emuluje wymaganą funkcjonalność "
894 "za pomocą połączenia wywołania systemowego B<faccessat>() oraz "
895 "B<fstatat>(2). Jednak emulacja ta nie bierze pod uwagę ACL-i (list kontroli "
896 "dostępu do plików). Począwszy od glibc 2.33, funkcja opakowująca obchodzi tę "
897 "usterkę, wykorzystując wywołanie systemowe B<faccessat2>(), tam gdzie jest "
898 "ono zapewnione przez jądro."
899
900 #. This behavior appears to have been an implementation accident.
901 #. type: Plain text
902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
903 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
904 msgid ""
905 "In Linux 2.4 (and earlier) there is some strangeness in the handling of "
906 "B<X_OK> tests for superuser. If all categories of execute permission are "
907 "disabled for a nondirectory file, then the only B<access>() test that "
908 "returns -1 is when I<mode> is specified as just B<X_OK>; if B<R_OK> or "
909 "B<W_OK> is also specified in I<mode>, then B<access>() returns 0 for such "
910 "files. Early Linux 2.6 (up to and including Linux 2.6.3) also behaved in "
911 "the same way as Linux 2.4."
912 msgstr ""
913 "W Linuksie 2.4 (i wcześniejszych) obsługa testów B<X_OK> dla "
914 "superużytkownika jest nieco dziwna. Jeśli wszystkie kategorie uprawnień "
915 "wykonania są wyłączone dla pliku niebędącego katalogiem, to jedynym testem "
916 "B<access>() zwracającym -1 jest sytuacja, gdy podany I<mode> wynosi tylko "
917 "B<X_OK>; jeśli w I<mode> określono również B<R_OK> lub B<W_OK>, to "
918 "B<access>() zwróci dla takich plików 0. Wczesny Linux 2.6 (do Linuksa 2.6.3 "
919 "włącznie) zachowywał się również w ten sam sposób jak Linux 2.4."
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 msgid ""
925 "Before Linux 2.6.20, these calls ignored the effect of the B<MS_NOEXEC> flag "
926 "if it was used to B<mount>(2) the underlying filesystem. Since Linux "
927 "2.6.20, the B<MS_NOEXEC> flag is honored."
928 msgstr ""
929 "Przed Linuksem 2.6.20, wywołania te ignorowały wpływ znacznika B<MS_NOEXEC>, "
930 "jeśli był on używany do wykonania B<mount>(2) na systemie plików. Od Linuksa "
931 "2.6.20, znacznik B<MS_NOEXEC> jest uwzględniany."
932
933 #. type: SH
934 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
935 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
936 #, no-wrap
937 msgid "SEE ALSO"
938 msgstr "ZOBACZ TAKŻE"
939
940 #. type: Plain text
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
943 msgid ""
944 "B<chmod>(2), B<chown>(2), B<open>(2), B<setgid>(2), B<setuid>(2), "
945 "B<stat>(2), B<euidaccess>(3), B<credentials>(7), B<path_resolution>(7), "
946 "B<symlink>(7)"
947 msgstr ""
948 "B<chmod>(2), B<chown>(2), B<open>(2), B<setgid>(2), B<setuid>(2), "
949 "B<stat>(2), B<euidaccess>(3), B<credentials>(7), B<path_resolution>(7), "
950 "B<symlink>(7)"
951
952 #. type: TH
953 #: debian-trixie
954 #, no-wrap
955 msgid "2024-06-13"
956 msgstr "13 czerwca 2024 r."
957
958 #. type: TH
959 #: debian-trixie
960 #, no-wrap
961 msgid "Linux man-pages 6.9.1"
962 msgstr "Linux man-pages 6.9.1"
963
964 #. type: Plain text
965 #: debian-trixie
966 msgid "Standard C library (I<libc>, I<-lc>)"
967 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
968
969 #. type: Plain text
970 #: debian-trixie fedora-44 fedora-rawhide
971 #, no-wrap
972 msgid "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
973 msgstr "B<int access(const char *>I<pathname>B<, int >I<mode>B<);>\n"
974
975 #. type: Plain text
976 #: debian-trixie fedora-44 fedora-rawhide
977 #, no-wrap
978 msgid ""
979 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
980 " /* But see C library/kernel differences, below */\n"
981 msgstr ""
982 "B<int faccessat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
983 " /* Różnice między biblioteką C a jądrem opisano poniżej */\n"
984
985 #. type: Plain text
986 #: debian-trixie fedora-44 fedora-rawhide
987 #, no-wrap
988 msgid ""
989 "B<int syscall(SYS_faccessat2,>\n"
990 "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
991 msgstr ""
992 "B<int syscall(SYS_faccessat2,>\n"
993 "B< int >I<dirfd>B<, const char *>I<pathname>B<, int >I<mode>B<, int >I<flags>B<);>\n"
994
995 #. type: Plain text
996 #: debian-trixie fedora-44 fedora-rawhide
997 msgid ""
998 "B<access>() checks whether the calling process can access the file "
999 "I<pathname>. If I<pathname> is a symbolic link, it is dereferenced."
1000 msgstr ""
1001 "B<access>() sprawdza, czy wywołujący proces ma dostęp do pliku I<pathname>. "
1002 "Jeśli I<pathname> jest dowiązaniem symbolicznym, jest rozwiązywana."
1003
1004 #. type: Plain text
1005 #: debian-trixie fedora-44 fedora-rawhide
1006 msgid ""
1007 "If the pathname given in I<pathname> is relative, then it is interpreted "
1008 "relative to the directory referred to by the file descriptor I<dirfd> "
1009 "(rather than relative to the current working directory of the calling "
1010 "process, as is done by B<access>() for a relative pathname)."
1011 msgstr ""
1012 "Jeśli ścieżka podana w I<pathname> jest względna, jest to interpretowane w "
1013 "odniesieniu do katalogu do którego odnosi się deskryptor pliku I<dirfd> "
1014 "(zamiast w odniesieniu do bieżącego katalogu roboczego procesu wywołującego, "
1015 "jak w stosunku do ścieżek względnych robi to B<access>())."
1016
1017 #. type: Plain text
1018 #: debian-trixie fedora-44 fedora-rawhide
1019 msgid ""
1020 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1021 "then I<pathname> is interpreted relative to the current working directory of "
1022 "the calling process (like B<access>())."
1023 msgstr ""
1024 "Jeśli I<pathname> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, "
1025 "to I<pathname> jest interpretowana w odniesieniu do bieżącego katalogu "
1026 "roboczego procesu wywołującego (jak B<access>())."
1027
1028 #. type: Plain text
1029 #: debian-trixie fedora-44 fedora-rawhide
1030 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1031 msgstr ""
1032 "Jeśli ścieżka I<pathname> jest bezwzględna, to I<dirfd> jest ignorowane."
1033
1034 #. type: Plain text
1035 #: debian-trixie fedora-44 fedora-rawhide
1036 msgid ""
1037 "If I<pathname> is an empty string, operate on the file referred to by "
1038 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1039 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1040 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1041 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1042 "obtain its definition."
1043 msgstr ""
1044 "Jeśli I<pathname> jest pustym łańcuchem, działa na pliku do którego odnosi "
1045 "się I<dirfd> (który mógł być pozyskany za pomocą znacznika B<O_PATH> "
1046 "B<open>(2)). W tym przypadku I<dirfd> może odnosić się do dowolnego typu "
1047 "pliku, a nie tylko katalogu. Jeśli I<dirfd> wynosi B<AT_FDCWD>, to wywołanie "
1048 "działa na bieżącym katalogu roboczym. Znacznik ten jest charakterystyczny "
1049 "dla Linuksa; należy zdefiniować B<_GNU_SOURCE>, aby pozyskać jego definicję."
1050
1051 #. type: Plain text
1052 #: debian-trixie fedora-44 fedora-rawhide
1053 msgid ""
1054 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1055 "information about the link itself."
1056 msgstr ""
1057 "Jeśli I<pathname> jest dowiązaniem symbolicznym, nie rozwiązuje go: w zamian "
1058 "zwraca informacje o samym dowiązaniu."
1059
1060 #. type: Plain text
1061 #: debian-trixie fedora-44 fedora-rawhide
1062 msgid ""
1063 "The requested access would be denied to the file, or search permission is "
1064 "denied for one of the directories in the path prefix of I<pathname>. (See "
1065 "also B<path_resolution>(7).)"
1066 msgstr ""
1067 "Brak uprawnień dla żądanego dostępu do pliku, albo brak uprawnień do "
1068 "przeglądania któregoś z katalogów w ścieżce I<pathname> (zob. też "
1069 "B<path_resolution>(7))."
1070
1071 #. type: Plain text
1072 #: debian-trixie fedora-44 fedora-rawhide
1073 msgid ""
1074 "(B<faccessat>()) I<pathname> is relative but I<dirfd> is neither "
1075 "B<AT_FDCWD> (B<faccessat>()) nor a valid file descriptor."
1076 msgstr ""
1077 "(B<faccessat>()) I<pathname> jest względne, lecz I<dirfd> nie wynosi ani "
1078 "B<AT_FDCWD> (B<faccessat>()), ani nie jest prawidłowym deskryptorem pliku."
1079
1080 #. type: Plain text
1081 #: debian-trixie fedora-44 fedora-rawhide
1082 msgid "I<pathname> points outside your accessible address space."
1083 msgstr ""
1084 "I<pathname> wskazuje poza dostępną dla użytkownika przestrzeń adresową."
1085
1086 #. type: Plain text
1087 #: debian-trixie fedora-44 fedora-rawhide
1088 msgid "Too many symbolic links were encountered in resolving I<pathname>."
1089 msgstr ""
1090 "Podczas rozwiązywania I<pathname> napotkano zbyt wiele dowiązań "
1091 "symbolicznych."
1092
1093 #. type: Plain text
1094 #: debian-trixie fedora-44 fedora-rawhide
1095 msgid "I<pathname> is too long."
1096 msgstr "Ścieżka I<pathname> jest zbyt długa."
1097
1098 #. type: Plain text
1099 #: debian-trixie fedora-44 fedora-rawhide
1100 msgid ""
1101 "A component of I<pathname> does not exist or is a dangling symbolic link."
1102 msgstr ""
1103 "Składnik I<pathname> nie istnieje lub jest wiszącym dowiązaniem symbolicznym."
1104
1105 #. type: Plain text
1106 #: debian-trixie fedora-44 fedora-rawhide
1107 msgid ""
1108 "A component used as a directory in I<pathname> is not, in fact, a directory."
1109 msgstr ""
1110 "Składnik I<pathname>, który powinien być katalogiem, w rzeczywistości "
1111 "katalogiem nie jest."
1112
1113 #. type: Plain text
1114 #: debian-trixie fedora-44 fedora-rawhide
1115 msgid ""
1116 "(B<faccessat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1117 "referring to a file other than a directory."
1118 msgstr ""
1119 "(B<faccessat>()) I<pathname> jest względna a I<dirfd> jest deskryptorem "
1120 "pliku odnoszącym się do pliku zamiast do katalogu."
1121
1122 #. type: Plain text
1123 #: debian-trixie fedora-44 fedora-rawhide
1124 msgid ""
1125 "On older kernels where B<faccessat>() is unavailable (and when the "
1126 "B<AT_EACCESS> and B<AT_SYMLINK_NOFOLLOW> flags are not specified), the glibc "
1127 "wrapper function falls back to the use of B<access>(). When I<pathname> is "
1128 "a relative pathname, glibc constructs a pathname based on the symbolic link "
1129 "in I</proc/self/fd> that corresponds to the I<dirfd> argument."
1130 msgstr ""
1131 "Na starszych wersjach jądra Linux, gdzie B<faccessat>() nie jest dostępne (i "
1132 "gdzie znaczniki B<AT_EACCESS> oraz B<AT_SYMLINK_NOFOLLOW> nie są określone), "
1133 "funkcja opakowująca z glibc wraca do używania B<access>(). Gdy I<pathname> "
1134 "jest względną ścieżką, glibc konstruuje ścieżkę na bazie dowiązania "
1135 "symbolicznego w I</proc/self/fd>, które odpowiada argumentowi I<dirfd>."
1136
1137 #. type: Plain text
1138 #: debian-trixie fedora-44 fedora-rawhide
1139 msgid "POSIX.1-2008."
1140 msgstr "POSIX.1-2008."
1141
1142 #. type: Plain text
1143 #: debian-trixie fedora-44 fedora-rawhide
1144 msgid "SVr4, 4.3BSD, POSIX.1-2001."
1145 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
1146
1147 #. type: Plain text
1148 #: debian-trixie fedora-44 fedora-rawhide
1149 msgid "Linux 2.6.16, glibc 2.4."
1150 msgstr "Linux 2.6.16, glibc 2.4."
1151
1152 #. type: Plain text
1153 #: debian-trixie fedora-44 fedora-rawhide
1154 msgid ""
1155 "A file is accessible only if the permissions on each of the directories in "
1156 "the path prefix of I<pathname> grant search (i.e., execute) access. If any "
1157 "directory is inaccessible, then the B<access>() call fails, regardless of "
1158 "the permissions on the file itself."
1159 msgstr ""
1160 "Plik jest dostępny tylko wówczas, gdy uprawnienia każdego z katalogów w jego "
1161 "ścieżce I<pathname> przyznają dostęp do przeszukiwania (tj. wykonania). "
1162 "Jeśli dowolny katalog jest niedostępny, to wywołanie B<access>() zawiedzie, "
1163 "niezależnie od uprawnień samego pliku."
1164
1165 #. type: TH
1166 #: fedora-44 fedora-rawhide
1167 #, no-wrap
1168 msgid "2024-07-23"
1169 msgstr "23 lipca 2024 r."
1170
1171 #. type: TH
1172 #: fedora-44 fedora-rawhide
1173 #, no-wrap
1174 msgid "Linux man-pages 6.13"
1175 msgstr "Linux man-pages 6.13"
1176
1177 #. type: TH
1178 #: mageia-cauldron
1179 #, no-wrap
1180 msgid "Linux man-pages 6.17"
1181 msgstr "Linux man-pages 6.17"
1182
1183 #. type: TH
1184 #: opensuse-leap-16-1 opensuse-tumbleweed
1185 #, no-wrap
1186 msgid "Linux man-pages (unreleased)"
1187 msgstr "Linux man-pages (niewydane)"