Debian Codegraph @

po/pl/man2/chown.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:20+0200\n"
11 "PO-Revision-Date: 2026-03-15 12:17+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 "chown"
27 msgstr "chown"
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 "chown, fchown, lchown, fchownat - change ownership of a file"
53 msgstr "chown, fchown, lchown, fchownat - zmieniają właściciela 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 ""
87 "B<int chown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
88 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
89 "B<int lchown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
90 msgstr ""
91 "B<int chown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
92 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
93 "B<int lchown(const char *>I<path>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<#include E<lt>fcntl.hE<gt> >/* Definition of AT_* constants */\n"
101 "B<#include E<lt>unistd.hE<gt>>\n"
102 msgstr ""
103 "B<#include E<lt>fcntl.hE<gt> >/* Definicja stałych AT_* */\n"
104 "B<#include E<lt>unistd.hE<gt>>\n"
105
106 #. type: Plain text
107 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
108 #: opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
111 "B<int fchownat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
112 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
113 msgstr ""
114 "B<int fchownat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
115 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
122 msgstr ""
123 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid "B<fchown>(), B<lchown>():"
129 msgstr "B<fchown>(), B<lchown>():"
130
131 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid ""
137 " /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
138 " || _XOPEN_SOURCE E<gt>= 500\n"
139 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
140 msgstr ""
141 " /* Od glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
142 " || _XOPEN_SOURCE E<gt>= 500\n"
143 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid "B<fchownat>():"
149 msgstr "B<fchownat>():"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid ""
156 " Since glibc 2.10:\n"
157 " _POSIX_C_SOURCE E<gt>= 200809L\n"
158 " Before glibc 2.10:\n"
159 " _ATFILE_SOURCE\n"
160 msgstr ""
161 " Od glibc 2.10:\n"
162 " _POSIX_C_SOURCE E<gt>= 200809L\n"
163 " Przed glibc 2.10:\n"
164 " _ATFILE_SOURCE\n"
165
166 #. type: SH
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "DESCRIPTION"
171 msgstr "OPIS"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "These system calls change the owner and group of a file. The B<chown>(), "
178 "B<fchown>(), and B<lchown>() system calls differ only in how the file is "
179 "specified:"
180 msgstr ""
181 "Niniejsze wywołania systemowe zmieniają właściciela i grupę pliku. Wywołania "
182 "systemowe B<chown>(), B<fchown>() i B<lchown>() różnią się jedynie sposobem "
183 "określenia pliku:"
184
185 #. type: IP
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "\\[bu]"
190 msgstr "\\[bu]"
191
192 #. type: Plain text
193 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
194 #: opensuse-tumbleweed
195 msgid ""
196 "B<chown>() changes the ownership of the file specified by I<path>, which is "
197 "dereferenced if it is a symbolic link."
198 msgstr ""
199 "B<chown>() zmienia właściciela pliku określonego ścieżką I<path>, która jest "
200 "rozwiązywana, jeśli jest dowiązaniem symbolicznym."
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "B<fchown>() changes the ownership of the file referred to by the open file "
207 "descriptor I<fd>."
208 msgstr ""
209 "B<fchown>() zmienia właściciela pliku określonego deskryptorem otwartego "
210 "pliku I<fd>."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "B<lchown>() is like B<chown>(), but does not dereference symbolic links."
217 msgstr ""
218 "B<lchown>() jest podobne do B<chown>(), lecz nie podąża za dowiązaniami "
219 "symbolicznymi."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Only a privileged process (Linux: one with the B<CAP_CHOWN> capability) may "
226 "change the owner of a file. The owner of a file may change the group of the "
227 "file to any group of which that owner is a member. A privileged process "
228 "(Linux: with B<CAP_CHOWN>) may change the group arbitrarily."
229 msgstr ""
230 "Zmiany właściciela pliku może dokonać jedynie proces uprzywilejowany (Linux: "
231 "z przywilejem (ang. capability) B<CAP_CHOWN>). Właściciel pliku może zmienić "
232 "grupę pliku na dowolną grupę, której jest członkiem. Proces uprzywilejowany "
233 "(Linux: z przywilejem B<CAP_CHOWN>) może zmienić grupę w sposób dowolny."
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "If the I<owner> or I<group> is specified as -1, then that ID is not changed."
240 msgstr ""
241 "Jeśli I<owner> lub I<group> jest podane jako -1, to ten identyfikator nie "
242 "jest wtedy zmieniany."
243
244 #. In Linux 2.0 kernels, superuser was like everyone else
245 #. In Linux 2.2, up to Linux 2.2.12, these bits were not cleared for superuser.
246 #. Since Linux 2.2.13, superuser is once more like everyone else.
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "When the owner or group of an executable file is changed by an unprivileged "
252 "user, the B<S_ISUID> and B<S_ISGID> mode bits are cleared. POSIX does not "
253 "specify whether this also should happen when root does the B<chown>(); the "
254 "Linux behavior depends on the kernel version, and since Linux 2.2.13, root "
255 "is treated like other users. In case of a non-group-executable file (i.e., "
256 "one for which the B<S_IXGRP> bit is not set) the B<S_ISGID> bit indicates "
257 "mandatory locking, and is not cleared by a B<chown>()."
258 msgstr ""
259 "Jeśli właściciel lub grupa pliku wykonywalnego są zmieniane przez "
260 "użytkownika nieuprzywilejowanego, to bity trybu B<S_ISUID> i B<S_ISGID> są "
261 "usuwane. Standard POSIX nie precyzuje, czy powinno to nastąpić również przy "
262 "wykonaniu przez roota B<chown>(); zachowanie w Linuksie zależy od wersji "
263 "jądra, od Linuksa 2.2.13, root jest traktowany tak samo jak inni "
264 "użytkownicy. W przypadku pliku, który nie jest wykonywalny dla grupy (tj. "
265 "którego bit B<S_IXGRP> nie jest ustawiony), bit B<S_ISGID> oznacza "
266 "obowiązkowe blokowanie pliku i wówczas nie jest usuwany przez I<chown>."
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "When the owner or group of an executable file is changed (by any user), all "
273 "capability sets for the file are cleared."
274 msgstr ""
275 "Jeśli właściciel lub grupa pliku wykonywalnego zostanie zmieniona (przez "
276 "dowolnego użytkownika), wszystkie zbiory przywilejów pliku zostaną usunięte."
277
278 #. type: SS
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "fchownat()"
283 msgstr "fchownat()"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "The B<fchownat>() system call operates in exactly the same way as "
290 "B<chown>(), except for the differences described here."
291 msgstr ""
292 "Wywołanie systemowe B<fchownat>() operuje w dokładnie taki sam sposób jak "
293 "B<chown>(), z wyjątkiem różnic opisanych tutaj."
294
295 #. type: Plain text
296 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 msgid ""
299 "If I<path> is relative, then it is interpreted relative to the directory "
300 "referred to by the file descriptor I<dirfd> (rather than relative to the "
301 "current working directory of the calling process, as is done by B<chown>() "
302 "for a relative pathname)."
303 msgstr ""
304 "Jeśli ścieżka I<path> jest względna, jest to interpretowane w odniesieniu do "
305 "katalogu do którego odnosi się deskryptor pliku I<dirfd> (zamiast w "
306 "odniesieniu do bieżącego katalogu roboczego procesu wywołującego, jak w "
307 "stosunku do ścieżek względnych robi to B<chown>())."
308
309 #. type: Plain text
310 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
311 #: opensuse-tumbleweed
312 msgid ""
313 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
314 "I<path> is interpreted relative to the current working directory of the "
315 "calling process (like B<chown>())."
316 msgstr ""
317 "Jeśli I<path> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, to "
318 "I<path> jest interpretowana w odniesieniu do bieżącego katalogu roboczego "
319 "procesu wywołującego (jak B<chown>())."
320
321 #. type: Plain text
322 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
323 #: opensuse-tumbleweed
324 msgid "If I<path> is absolute, then I<dirfd> is ignored."
325 msgstr "Jeśli ścieżka I<path> jest bezwzględna, to I<dirfd> jest ignorowane."
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid ""
331 "The I<flags> argument is a bit mask created by ORing together 0 or more of "
332 "the following values;"
333 msgstr ""
334 "Parametr I<flags> jest maską bitową, utworzoną jako suma logiczna (OR) zera "
335 "lub więcej następujących wartości;"
336
337 #. type: TP
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
342 msgstr "B<AT_EMPTY_PATH> (od Linuksa 2.6.39)"
343
344 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
345 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
346 #. type: Plain text
347 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
348 #: opensuse-tumbleweed
349 msgid ""
350 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
351 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
352 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
353 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
354 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
355 "definition."
356 msgstr ""
357 "Jeśli I<path> jest pustym łańcuchem, działa na pliku do którego odnosi się "
358 "I<dirfd> (który mógł być pozyskany za pomocą znacznika B<O_PATH> "
359 "B<open>(2)). W tym przypadku I<dirfd> może odnosić się do dowolnego typu "
360 "pliku, a nie tylko katalogu. Jeśli I<dirfd> wynosi B<AT_FDCWD>, to wywołanie "
361 "działa na bieżącym katalogu roboczym. Znacznik ten jest charakterystyczny "
362 "dla Linuksa; należy zdefiniować B<_GNU_SOURCE>, aby pozyskać jego definicję."
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<AT_SYMLINK_NOFOLLOW>"
369 msgstr "B<AT_SYMLINK_NOFOLLOW>"
370
371 #. type: Plain text
372 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
373 #: opensuse-tumbleweed
374 msgid ""
375 "If I<path> is a symbolic link, do not dereference it: instead operate on the "
376 "link itself, like B<lchown>(). (By default, B<fchownat>() dereferences "
377 "symbolic links, like B<chown>().)"
378 msgstr ""
379 "Jeśli I<path> jest dowiązaniem symbolicznym, nie podąża za nim, w zamian "
380 "działa na samym dowiązaniu, jak B<lchown>(). Domyślnie B<fchownat>() podąża "
381 "za dowiązaniami symbolicznymi, jak B<chown>()."
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid "See B<openat>(2) for an explanation of the need for B<fchownat>()."
387 msgstr ""
388 "Więcej informacji o potrzebie wprowadzenia B<fchownat>() można znaleźć w "
389 "podręczniku B<openat>(2)."
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "RETURN VALUE"
396 msgstr "WARTOŚĆ ZWRACANA"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
403 "to indicate the error."
404 msgstr ""
405 "Po pomyślnym zakończeniu zwracane jest zero. Po błędzie zwracane jest -1 i "
406 "ustawiane I<errno>, wskazując błąd."
407
408 #. type: SH
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "ERRORS"
413 msgstr "BŁĘDY"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "Depending on the filesystem, errors other than those listed below can be "
420 "returned."
421 msgstr ""
422 "W zależności od systemu plików, mogą wystąpić błędy niewymienione poniżej."
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid "The more general errors for B<chown>() are listed below."
428 msgstr "Ogólne błędy B<chown>() to:"
429
430 #. type: TP
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "B<EACCES>"
435 msgstr "B<EACCES>"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "Search permission is denied on a component of the path prefix. (See also "
442 "B<path_resolution>(7).)"
443 msgstr ""
444 "Brak praw do przeszukiwania dla składowej ścieżki (zob. także "
445 "B<path_resolution>(7))."
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<EBADF>"
452 msgstr "B<EBADF>"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid "(B<fchown>()) I<fd> is not a valid open file descriptor."
458 msgstr "(B<fchown>()) I<fd> nie jest prawidłowym otwartym deskryptorem pliku."
459
460 #. type: Plain text
461 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
462 #: opensuse-tumbleweed
463 msgid ""
464 "(B<fchownat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
465 "a valid file descriptor."
466 msgstr ""
467 "(B<fchownat>()) I<path> jest względne, lecz I<dirfd> nie wynosi ani "
468 "B<AT_FDCWD>, ani nie jest prawidłowym deskryptorem pliku."
469
470 #. type: TP
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "B<EFAULT>"
475 msgstr "B<EFAULT>"
476
477 #. type: Plain text
478 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
479 #: opensuse-tumbleweed
480 msgid "I<path> points outside your accessible address space."
481 msgstr "I<path> wskazuje poza dostępną dla użytkownika przestrzeń adresową."
482
483 #. type: TP
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "B<EINVAL>"
488 msgstr "B<EINVAL>"
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid "(B<fchownat>()) Invalid flag specified in I<flags>."
494 msgstr "(B<fchownat>()) Podano nieprawidłową opcję w I<flags>."
495
496 #. type: TP
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "B<EIO>"
501 msgstr "B<EIO>"
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 msgid ""
507 "(B<fchown>()) A low-level I/O error occurred while modifying the inode."
508 msgstr ""
509 "(B<fchown>()) Niskopoziomowy błąd wejścia/wyjścia podczas modyfikacji i-"
510 "węzła."
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<ELOOP>"
517 msgstr "B<ELOOP>"
518
519 #. type: Plain text
520 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
521 #: opensuse-tumbleweed
522 msgid "Too many symbolic links were encountered in resolving I<path>."
523 msgstr ""
524 "Podczas rozwiązywania I<path> napotkano zbyt wiele dowiązań symbolicznych."
525
526 #. type: TP
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "B<ENAMETOOLONG>"
531 msgstr "B<ENAMETOOLONG>"
532
533 #. type: Plain text
534 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
535 #: opensuse-tumbleweed
536 msgid "I<path> is too long."
537 msgstr "I<path> jest zbyt długie."
538
539 #. type: TP
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid "B<ENOENT>"
544 msgstr "B<ENOENT>"
545
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid "The file does not exist."
550 msgstr "Plik nie istnieje."
551
552 #. type: TP
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "B<ENOMEM>"
557 msgstr "B<ENOMEM>"
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid "Insufficient kernel memory was available."
563 msgstr "Brak pamięci jądra."
564
565 #. type: TP
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "B<ENOTDIR>"
570 msgstr "B<ENOTDIR>"
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid "A component of the path prefix is not a directory."
576 msgstr "Składowa ścieżki nie jest katalogiem."
577
578 #. type: Plain text
579 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
580 #: opensuse-tumbleweed
581 msgid ""
582 "(B<fchownat>()) I<path> is relative and I<dirfd> is a file descriptor "
583 "referring to a file other than a directory."
584 msgstr ""
585 "(B<fchownat>()) I<path> jest względna a I<dirfd> jest deskryptorem pliku "
586 "odnoszącym się do pliku zamiast do katalogu."
587
588 #. type: TP
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "B<EPERM>"
593 msgstr "B<EPERM>"
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid ""
599 "The calling process did not have the required permissions (see above) to "
600 "change owner and/or group."
601 msgstr ""
602 "Wywołujący proces nie ma wymaganych uprawnień (zob. wyżej) do zmiany "
603 "właściciela i/lub grupy."
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 msgid ""
609 "The file is marked immutable or append-only. (See "
610 "B<FS_IOC_SETFLAGS>(2const).)"
611 msgstr ""
612 "Plik jest oznaczony jako tylko do odczytu lub tylko do nadpisu (zob. również "
613 "B<FS_IOC_SETFLAGS>(2const))."
614
615 #. type: TP
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "B<EROFS>"
620 msgstr "B<EROFS>"
621
622 #. type: Plain text
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 msgid "The named file resides on a read-only filesystem."
626 msgstr ""
627 "Podany plik znajduje się na systemie plików przeznaczonym tylko do odczytu."
628
629 #. type: SH
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "VERSIONS"
634 msgstr "WERSJE"
635
636 #. chown():
637 #. SVr4 documents EINVAL, EINTR, ENOLINK and EMULTIHOP returns, but no
638 #. ENOMEM. POSIX.1 does not document ENOMEM or ELOOP error conditions.
639 #. fchown():
640 #. SVr4 documents additional EINVAL, EIO, EINTR, and ENOLINK
641 #. error conditions.
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid ""
646 "The 4.4BSD version can be used only by the superuser (that is, ordinary "
647 "users cannot give away files)."
648 msgstr ""
649 "Wersja 4.4BSD może być użyta jedynie przez superużytkownika (tj. zwykły "
650 "użytkownik nie może oddawać plików)."
651
652 #. type: SH
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "STANDARDS"
657 msgstr "STANDARDY"
658
659 #. type: Plain text
660 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
661 #: opensuse-tumbleweed
662 msgid "POSIX.1-2024."
663 msgstr "POSIX.1-2024."
664
665 #. type: SH
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "HISTORY"
670 msgstr "HISTORIA"
671
672 #. type: TP
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid "B<chown>()"
677 msgstr "B<chown>()"
678
679 #. type: Plain text
680 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
681 #: opensuse-tumbleweed
682 msgid "SVr4, POSIX.1-1988, 4.4BSD."
683 msgstr "SVr4, POSIX.1-1988, 4.4BSD."
684
685 #. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
686 #. type: TP
687 #. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
688 #. type: TQ
689 #. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
690 #. type: TP
691 #. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
692 #. type: TQ
693 #. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
694 #. type: TQ
695 #. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
696 #. type: TP
697 #. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
698 #. type: TP
699 #. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
700 #. type: TP
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "B<fchown>()"
705 msgstr "B<fchown>()"
706
707 #. type: Plain text
708 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
709 #: opensuse-tumbleweed
710 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001."
711 msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-2001."
712
713 #. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
714 #. type: TP
715 #. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
716 #. type: TQ
717 #. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
718 #. type: TP
719 #. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
720 #. type: TQ
721 #. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
722 #. type: TQ
723 #. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
724 #. type: TP
725 #. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
726 #. type: TP
727 #. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
728 #. type: TP
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "B<lchown>()"
733 msgstr "B<lchown>()"
734
735 #. type: Plain text
736 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
737 #: opensuse-tumbleweed
738 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI, POSIX.1-2008."
739 msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI, POSIX.1-2008."
740
741 #. type: TP
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "B<fchownat>()"
746 msgstr "B<fchownat>()"
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
752 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
753
754 #. type: SH
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "NOTES"
759 msgstr "UWAGI"
760
761 #. type: SS
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "Ownership of new files"
766 msgstr "Własność nowych plików"
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid ""
772 "When a new file is created (by, for example, B<open>(2) or B<mkdir>(2)), "
773 "its owner is made the same as the filesystem user ID of the creating "
774 "process. The group of the file depends on a range of factors, including the "
775 "type of filesystem, the options used to mount the filesystem, and whether or "
776 "not the set-group-ID mode bit is enabled on the parent directory. If the "
777 "filesystem supports the B<-o\\ grpid> (or, synonymously B<-o\\ bsdgroups>) "
778 "and B<-o\\ nogrpid> (or, synonymously B<-o\\ sysvgroups>) B<mount>(8) "
779 "options, then the rules are as follows:"
780 msgstr ""
781 "Przy tworzeniu nowego pliku (przez np. B<open>(2) lub B<mkdir>(2)), jego "
782 "właścicielem staje się identyfikator użytkownika systemu plików tworzącego "
783 "procesu. Grupa zależy od wielu czynników, w tym typu systemu plików, opcji "
784 "użytych przy jego zamontowaniu oraz tego, czy dla jego katalogu ustawiono "
785 "bit ustawienia ID grupy podczas wykonania (sgid). Jeśli system plików "
786 "obsługuje opcje montowania B<mount>(8): B<-o\\ grpid> (lub równoważnie B<-"
787 "o\\ bsdgroups>) i B<-o\\ nogrpid> (lub równoważnie B<-o\\ sysvgroups>), to "
788 "zasady są następujące:"
789
790 #. type: Plain text
791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
793 msgid ""
794 "If the filesystem is mounted with B<-o\\ grpid>, then the group of a new "
795 "file is made the same as that of the parent directory."
796 msgstr ""
797 "Jeśli system plików zamontowano z opcją B<-o\\ grpid>, to grupa nowego pliku "
798 "jest taka sama jak grupa jego katalogu."
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid ""
804 "If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit "
805 "is disabled on the parent directory, then the group of a new file is made "
806 "the same as the process's filesystem GID."
807 msgstr ""
808 "Jeśli system plików zamontowano z opcją B<-o\\ nogrpid> i bit ustawienia ID "
809 "grupy podczas wykonania (sgid) jest wyłączony dla jego katalogu, to grupa "
810 "nowego pliku jest taka sama jak grupa systemu plików dla procesu go "
811 "tworzącego."
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 msgid ""
817 "If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit "
818 "is enabled on the parent directory, then the group of a new file is made the "
819 "same as that of the parent directory."
820 msgstr ""
821 "Jeśli system plików zamontowano z opcją B<-o\\ nogrpid> i bit ustawienia ID "
822 "grupy podczas wykonania (sgid) jest ustawiony dla jego katalogu, to grupa "
823 "nowego pliku jest taka sama jak grupa jego katalogu."
824
825 #. type: Plain text
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 msgid ""
829 "As at Linux 4.12, the B<-o\\ grpid> and B<-o\\ nogrpid> mount options are "
830 "supported by ext2, ext3, ext4, and XFS. Filesystems that don't support "
831 "these mount options follow the B<-o\\ nogrpid> rules."
832 msgstr ""
833 "Z aktualnością na jądro Linux 4.12, opcje montowania B<-o\\ grpid> i B<-o\\ "
834 "nogrpid> są obsługiwane przez systemy plików ext2, ext3, ext4 i XFS. Systemy "
835 "plików nieobsługujące tych opcji, przestrzegają reguł B<-o\\ nogrpid>."
836
837 #. type: SS
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "glibc notes"
842 msgstr "Uwagi dla glibc"
843
844 #. type: Plain text
845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 msgid ""
848 "On older kernels where B<fchownat>() is unavailable, the glibc wrapper "
849 "function falls back to the use of B<chown>() and B<lchown>(). When I<path> "
850 "is relative, glibc constructs a pathname based on the symbolic link in I</"
851 "proc/self/fd> that corresponds to the I<dirfd> argument."
852 msgstr ""
853 "Na starszych wersjach jądra Linux, gdzie B<fchownat>() nie jest dostępne, "
854 "funkcja opakowująca z glibc wraca do używania B<chown>() i B<lchown>(). Gdy "
855 "I<path> jest względna, glibc konstruuje ścieżkę na bazie dowiązania "
856 "symbolicznego w I</proc/self/fd>, które odpowiada argumentowi I<dirfd>."
857
858 #. type: SS
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 #, no-wrap
862 msgid "NFS"
863 msgstr "NFS"
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 msgid ""
869 "The B<chown>() semantics are deliberately violated on NFS filesystems which "
870 "have UID mapping enabled. Additionally, the semantics of all system calls "
871 "which access the file contents are violated, because B<chown>() may cause "
872 "immediate access revocation on already open files. Client side caching may "
873 "lead to a delay between the time where ownership have been changed to allow "
874 "access for a user and the time where the file can actually be accessed by "
875 "the user on other clients."
876 msgstr ""
877 "Semantyka B<chown>() jest pogwałcona na systemach plików NFS, z włączonym "
878 "mapowaniem UID. Dodatkowo, semantyka wszystkich wywołań systemowych, które "
879 "uzyskują dostęp do zawartości plików jest dla NFS pogwałcona, bo B<chown>() "
880 "może spowodować natychmiastowe unieważnienie dostępu do już otwartych "
881 "plików. Buforowanie po stronie klienta może spowodować opóźnienie możliwości "
882 "uzyskania dostępu do pliku przez użytkowników innych stacji klienckich w "
883 "stosunku do chwili dokonania zmiany właściciela umożliwiającej ten dostęp."
884
885 #. type: SS
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 #, no-wrap
889 msgid "Historical details"
890 msgstr "Detale historyczne"
891
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 msgid ""
896 "The original Linux B<chown>(), B<fchown>(), and B<lchown>() system calls "
897 "supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added "
898 "B<chown32>(), B<fchown32>(), and B<lchown32>(), supporting 32-bit IDs. The "
899 "glibc B<chown>(), B<fchown>(), and B<lchown>() wrapper functions "
900 "transparently deal with the variations across kernel versions."
901 msgstr ""
902 "Oryginalne linuksowe wywołania systemowe B<chown>(), B<fchown>() i "
903 "B<lchown>() obsługiwały tylko 16-bitowe identyfikatory użytkownika i grupy. "
904 "Następnie w Linuksie 2.4 dodano B<chown32>(), B<fchown32>() i B<lchown32>(), "
905 "obsługujące 32-bitowe identyfikatory. Funkcje opakowujące B<chown>(), "
906 "B<fchown>() i B<lchown>() z glibc obsługują te warianty wywołań w różnych "
907 "wersjach jądra w sposób przezroczysty dla użytkownika."
908
909 #. type: Plain text
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 msgid ""
913 "Before Linux 2.1.81 (except 2.1.46), B<chown>() did not follow symbolic "
914 "links. Since Linux 2.1.81, B<chown>() does follow symbolic links, and "
915 "there is a new system call B<lchown>() that does not follow symbolic "
916 "links. Since Linux 2.1.86, this new call (that has the same semantics as "
917 "the old B<chown>()) has got the same syscall number, and B<chown>() got "
918 "the newly introduced number."
919 msgstr ""
920 "Przed Linuksem 2.1.81 (z wyjątkiem 2.1.46) B<chown>() nie podąża za "
921 "dowiązaniami symbolicznymi. Od wersji 2.1.81 Linuksa B<chown>() podąża za "
922 "dowiązaniami symbolicznymi, została także dodana nowa funkcja systemowa "
923 "B<lchown>(), która nie podąża za dowiązaniami symbolicznymi. Od wersji "
924 "2.1.86 Linuksa, ta nowa funkcja (mająca taką samą semantykę jak stare "
925 "B<chown>() ma taki sam numer funkcji, a B<chown>() otrzymała nowy numer."
926
927 #. type: SH
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, no-wrap
931 msgid "EXAMPLES"
932 msgstr "PRZYKŁADY"
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid ""
938 "The following program changes the ownership of the file named in its second "
939 "command-line argument to the value specified in its first command-line "
940 "argument. The new owner can be specified either as a numeric user ID, or as "
941 "a username (which is converted to a user ID by using B<getpwnam>(3) to "
942 "perform a lookup in the system password file)."
943 msgstr ""
944 "Poniższy program zmienia właściciela pliku nazwanego w drugim argumencie "
945 "wiersza poleceń na wartość podaną w pierwszych argumencie wiersza poleceń. "
946 "Nowego właściciela pliku można podać albo za pomocą jego numerycznego "
947 "identyfikatora użytkownika, albo jako nazwę użytkownika (konwertowaną do "
948 "identyfikatora za pomocą B<getpwnam>(3), aby wykonać zapytanie w systemowym "
949 "pliku haseł)."
950
951 #. type: SS
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 #, no-wrap
955 msgid "Program source"
956 msgstr "Kod źródłowy programu"
957
958 #. type: Plain text
959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
961 #, no-wrap
962 msgid ""
963 "#include E<lt>pwd.hE<gt>\n"
964 "#include E<lt>stdio.hE<gt>\n"
965 "#include E<lt>stdlib.hE<gt>\n"
966 "#include E<lt>sys/types.hE<gt>\n"
967 "#include E<lt>unistd.hE<gt>\n"
968 "\\&\n"
969 "int\n"
970 "main(int argc, char *argv[])\n"
971 "{\n"
972 " char *endptr;\n"
973 " uid_t uid;\n"
974 " struct passwd *pwd;\n"
975 "\\&\n"
976 " if (argc != 3 || argv[1][0] == \\[aq]\\[rs]0\\[aq]) {\n"
977 " fprintf(stderr, \"%s E<lt>ownerE<gt> E<lt>fileE<gt>\\[rs]n\", argv[0]);\n"
978 " exit(EXIT_FAILURE);\n"
979 " }\n"
980 "\\&\n"
981 " uid = strtol(argv[1], &endptr, 10); /* Allow a numeric string */\n"
982 "\\&\n"
983 " if (*endptr != \\[aq]\\[rs]0\\[aq]) { /* Was not pure numeric string */\n"
984 " pwd = getpwnam(argv[1]); /* Try getting UID for username */\n"
985 " if (pwd == NULL) {\n"
986 " perror(\"getpwnam\");\n"
987 " exit(EXIT_FAILURE);\n"
988 " }\n"
989 "\\&\n"
990 " uid = pwd-E<gt>pw_uid;\n"
991 " }\n"
992 "\\&\n"
993 " if (chown(argv[2], uid, -1) == -1) {\n"
994 " perror(\"chown\");\n"
995 " exit(EXIT_FAILURE);\n"
996 " }\n"
997 "\\&\n"
998 " exit(EXIT_SUCCESS);\n"
999 "}\n"
1000 msgstr ""
1001 "#include E<lt>pwd.hE<gt>\n"
1002 "#include E<lt>stdio.hE<gt>\n"
1003 "#include E<lt>stdlib.hE<gt>\n"
1004 "#include E<lt>sys/types.hE<gt>\n"
1005 "#include E<lt>unistd.hE<gt>\n"
1006 "\\&\n"
1007 "int\n"
1008 "main(int argc, char *argv[])\n"
1009 "{\n"
1010 " char *endptr;\n"
1011 " uid_t uid;\n"
1012 " struct passwd *pwd;\n"
1013 "\\&\n"
1014 " if (argc != 3 || argv[1][0] == \\[aq]\\[rs]0\\[aq]) {\n"
1015 " fprintf(stderr, \"%s E<lt>ownerE<gt> E<lt>fileE<gt>\\[rs]n\", argv[0]);\n"
1016 " exit(EXIT_FAILURE);\n"
1017 " }\n"
1018 "\\&\n"
1019 " uid = strtol(argv[1], &endptr, 10); /* Akceptuje łańcuch numeryczny */\n"
1020 "\\&\n"
1021 " if (*endptr != \\[aq]\\[rs]0\\[aq]) { /* Nie był to łańcuch czysto numer. */\n"
1022 " pwd = getpwnam(argv[1]); /* Próba uzyskania UID dla nazwy użytk. */\n"
1023 " if (pwd == NULL) {\n"
1024 " perror(\"getpwnam\");\n"
1025 " exit(EXIT_FAILURE);\n"
1026 " }\n"
1027 "\\&\n"
1028 " uid = pwd-E<gt>pw_uid;\n"
1029 " }\n"
1030 "\\&\n"
1031 " if (chown(argv[2], uid, -1) == -1) {\n"
1032 " perror(\"chown\");\n"
1033 " exit(EXIT_FAILURE);\n"
1034 " }\n"
1035 "\\&\n"
1036 " exit(EXIT_SUCCESS);\n"
1037 "}\n"
1038
1039 #. SRC END
1040 #. type: SH
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid "SEE ALSO"
1045 msgstr "ZOBACZ TAKŻE"
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1050 msgid ""
1051 "B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), "
1052 "B<symlink>(7)"
1053 msgstr ""
1054 "B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), "
1055 "B<symlink>(7)"
1056
1057 #. type: TH
1058 #: debian-trixie
1059 #, no-wrap
1060 msgid "2024-06-15"
1061 msgstr "15 czerwca 2024 r."
1062
1063 #. type: TH
1064 #: debian-trixie
1065 #, no-wrap
1066 msgid "Linux man-pages 6.9.1"
1067 msgstr "Linux man-pages 6.9.1"
1068
1069 #. type: Plain text
1070 #: debian-trixie
1071 msgid "Standard C library (I<libc>, I<-lc>)"
1072 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
1073
1074 #. type: Plain text
1075 #: debian-trixie fedora-44 fedora-rawhide
1076 #, no-wrap
1077 msgid ""
1078 "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1079 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1080 "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1081 msgstr ""
1082 "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1083 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1084 "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1085
1086 #. type: Plain text
1087 #: debian-trixie fedora-44 fedora-rawhide
1088 #, no-wrap
1089 msgid ""
1090 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1091 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
1092 msgstr ""
1093 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1094 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
1095
1096 #. type: Plain text
1097 #: debian-trixie fedora-44 fedora-rawhide
1098 msgid ""
1099 "B<chown>() changes the ownership of the file specified by I<pathname>, "
1100 "which is dereferenced if it is a symbolic link."
1101 msgstr ""
1102 "B<chown>() zmienia właściciela pliku określonego ścieżką I<pathname>, która "
1103 "jest rozwiązywana, jeśli jest dowiązaniem symbolicznym."
1104
1105 #. type: Plain text
1106 #: debian-trixie fedora-44 fedora-rawhide
1107 msgid ""
1108 "If the pathname given in I<pathname> is relative, then it is interpreted "
1109 "relative to the directory referred to by the file descriptor I<dirfd> "
1110 "(rather than relative to the current working directory of the calling "
1111 "process, as is done by B<chown>() for a relative pathname)."
1112 msgstr ""
1113 "Jeśli ścieżka podana w I<pathname> jest względna, jest to interpretowane w "
1114 "odniesieniu do katalogu do którego odnosi się deskryptor pliku I<dirfd> "
1115 "(zamiast w odniesieniu do bieżącego katalogu roboczego procesu wywołującego, "
1116 "jak w stosunku do ścieżek względnych robi to B<chown>())."
1117
1118 #. type: Plain text
1119 #: debian-trixie fedora-44 fedora-rawhide
1120 msgid ""
1121 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1122 "then I<pathname> is interpreted relative to the current working directory of "
1123 "the calling process (like B<chown>())."
1124 msgstr ""
1125 "Jeśli I<pathname> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, "
1126 "to I<pathname> jest interpretowana w odniesieniu do bieżącego katalogu "
1127 "roboczego procesu wywołującego (jak B<chown>())."
1128
1129 #. type: Plain text
1130 #: debian-trixie fedora-44 fedora-rawhide
1131 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1132 msgstr ""
1133 "Jeśli ścieżka I<pathname> jest bezwzględna, to I<dirfd> jest ignorowane."
1134
1135 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1136 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1137 #. type: Plain text
1138 #: debian-trixie fedora-44 fedora-rawhide
1139 msgid ""
1140 "If I<pathname> is an empty string, operate on the file referred to by "
1141 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1142 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1143 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1144 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1145 "obtain its definition."
1146 msgstr ""
1147 "Jeśli I<pathname> jest pustym łańcuchem, działa na pliku do którego odnosi "
1148 "się I<dirfd> (który mógł być pozyskany za pomocą znacznika B<O_PATH> "
1149 "B<open>(2)). W tym przypadku I<dirfd> może odnosić się do dowolnego typu "
1150 "pliku, a nie tylko katalogu. Jeśli I<dirfd> wynosi B<AT_FDCWD>, to wywołanie "
1151 "działa na bieżącym katalogu roboczym. Znacznik ten jest charakterystyczny "
1152 "dla Linuksa; należy zdefiniować B<_GNU_SOURCE>, aby pozyskać jego definicję."
1153
1154 #. type: Plain text
1155 #: debian-trixie fedora-44 fedora-rawhide
1156 msgid ""
1157 "If I<pathname> is a symbolic link, do not dereference it: instead operate on "
1158 "the link itself, like B<lchown>(). (By default, B<fchownat>() dereferences "
1159 "symbolic links, like B<chown>().)"
1160 msgstr ""
1161 "Jeśli I<pathname> jest dowiązaniem symbolicznym, nie podąża za nim, w zamian "
1162 "działa na samym dowiązaniu, jak B<lchown>(). Domyślnie B<fchownat>() podąża "
1163 "za dowiązaniami symbolicznymi, jak B<chown>()."
1164
1165 #. type: Plain text
1166 #: debian-trixie fedora-44 fedora-rawhide
1167 msgid ""
1168 "(B<fchownat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1169 "nor a valid file descriptor."
1170 msgstr ""
1171 "(B<fchownat>()) I<pathname> jest względne, lecz I<dirfd> nie wynosi ani "
1172 "B<AT_FDCWD>, ani nie jest prawidłowym deskryptorem pliku."
1173
1174 #. type: Plain text
1175 #: debian-trixie fedora-44 fedora-rawhide
1176 msgid "I<pathname> points outside your accessible address space."
1177 msgstr ""
1178 "I<pathname> wskazuje poza dostępną dla użytkownika przestrzeń adresową."
1179
1180 #. type: Plain text
1181 #: debian-trixie fedora-44 fedora-rawhide
1182 msgid "Too many symbolic links were encountered in resolving I<pathname>."
1183 msgstr ""
1184 "Podczas rozwiązywania I<pathname> napotkano zbyt wiele dowiązań "
1185 "symbolicznych."
1186
1187 #. type: Plain text
1188 #: debian-trixie fedora-44 fedora-rawhide
1189 msgid "I<pathname> is too long."
1190 msgstr "Ścieżka I<pathname> jest zbyt długa."
1191
1192 #. type: Plain text
1193 #: debian-trixie fedora-44 fedora-rawhide
1194 msgid ""
1195 "(B<fchownat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1196 "referring to a file other than a directory."
1197 msgstr ""
1198 "(B<fchownat>()) I<pathname> jest względna a I<dirfd> jest deskryptorem "
1199 "pliku odnoszącym się do pliku zamiast do katalogu."
1200
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 msgid "POSIX.1-2008."
1204 msgstr "POSIX.1-2008."
1205
1206 #. type: Plain text
1207 #: debian-trixie fedora-44 fedora-rawhide
1208 msgid "4.4BSD, SVr4, POSIX.1-2001."
1209 msgstr "4.4BSD, SVr4, POSIX.1-2001."
1210
1211 #. type: Plain text
1212 #: debian-trixie fedora-44 fedora-rawhide
1213 msgid ""
1214 "On older kernels where B<fchownat>() is unavailable, the glibc wrapper "
1215 "function falls back to the use of B<chown>() and B<lchown>(). When "
1216 "I<pathname> is a relative pathname, glibc constructs a pathname based on the "
1217 "symbolic link in I</proc/self/fd> that corresponds to the I<dirfd> argument."
1218 msgstr ""
1219 "Na starszych wersjach jądra Linux, gdzie B<fchownat>() nie jest dostępne, "
1220 "funkcja opakowująca z glibc wraca do używania B<chown>() i B<lchown>(). Gdy "
1221 "I<pathname> jest względną ścieżką, glibc konstruuje ścieżkę na bazie "
1222 "dowiązania symbolicznego w I</proc/self/fd>, które odpowiada argumentowi "
1223 "I<dirfd>."
1224
1225 #. type: TH
1226 #: fedora-44 fedora-rawhide
1227 #, no-wrap
1228 msgid "2024-07-23"
1229 msgstr "23 lipca 2024 r."
1230
1231 #. type: TH
1232 #: fedora-44 fedora-rawhide
1233 #, no-wrap
1234 msgid "Linux man-pages 6.13"
1235 msgstr "Linux man-pages 6.13"
1236
1237 #. type: TH
1238 #: mageia-cauldron
1239 #, no-wrap
1240 msgid "Linux man-pages 6.17"
1241 msgstr "Linux man-pages 6.17"
1242
1243 #. type: TH
1244 #: opensuse-leap-16-1 opensuse-tumbleweed
1245 #, no-wrap
1246 msgid "Linux man-pages (unreleased)"
1247 msgstr "Linux man-pages (niewydane)"