Debian Codegraph @

po/pt_BR/man2/chown.2.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # André Luiz Fassone <[email protected]>, 2001.
5 # Ricardo C.O.Freitas <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
10 "PO-Revision-Date: 2001-05-31 16:14+0200\n"
11 "Last-Translator: Ricardo C.O.Freitas <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\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=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "chown"
26 msgstr "chown"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
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 "NOME"
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 - altera o proprietário do arquivo"
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 "BIBLIOTECA"
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 "Biblioteca C Padrão (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 "SINOPSE"
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 #, fuzzy, no-wrap
86 #| msgid ""
87 #| "B<int chown(const char *>I<pathname>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<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
90 msgid ""
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 msgstr ""
95 "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
96 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
97 "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<#include E<lt>fcntl.hE<gt> >/* Definition of AT_* constants */\n"
105 "B<#include E<lt>unistd.hE<gt>>\n"
106 msgstr ""
107 "B<#include E<lt>fcntl.hE<gt> >/* Definição das constantes AT_* */\n"
108 "B<#include E<lt>unistd.hE<gt>>\n"
109
110 #. type: Plain text
111 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 #, fuzzy, no-wrap
114 #| msgid ""
115 #| "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
116 #| "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
117 msgid ""
118 "B<int fchownat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
119 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
120 msgstr ""
121 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
122 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
129 msgstr ""
130 "Requisitos de macro de teste de recursos para o glibc (consulte "
131 "B<feature_test_macros>(7)):"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid "B<fchown>(), B<lchown>():"
137 msgstr "B<fchown>(), B<lchown>():"
138
139 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, fuzzy, no-wrap
144 #| msgid ""
145 #| "/* Since glibc 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n"
146 #| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
147 msgid ""
148 " /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
149 " || _XOPEN_SOURCE E<gt>= 500\n"
150 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
151 msgstr ""
152 "/* Desde o 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n"
153 " || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid "B<fchownat>():"
159 msgstr "B<fchownat>():"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid ""
166 " Since glibc 2.10:\n"
167 " _POSIX_C_SOURCE E<gt>= 200809L\n"
168 " Before glibc 2.10:\n"
169 " _ATFILE_SOURCE\n"
170 msgstr ""
171 " Desde o glibc 2.10:\n"
172 " _POSIX_C_SOURCE E<gt>= 200809L\n"
173 " Antes da glibc 2.10:\n"
174 " _ATFILE_SOURCE\n"
175
176 #. type: SH
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "DESCRIPTION"
181 msgstr "DESCRIÇÃO"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "These system calls change the owner and group of a file. The B<chown>(), "
188 "B<fchown>(), and B<lchown>() system calls differ only in how the file is "
189 "specified:"
190 msgstr ""
191
192 #. type: IP
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "\\[bu]"
197 msgstr "\\[bu]"
198
199 #. type: Plain text
200 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
201 #: opensuse-tumbleweed
202 msgid ""
203 "B<chown>() changes the ownership of the file specified by I<path>, which is "
204 "dereferenced if it is a symbolic link."
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "B<fchown>() changes the ownership of the file referred to by the open file "
212 "descriptor I<fd>."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "B<lchown>() is like B<chown>(), but does not dereference symbolic links."
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, fuzzy
226 #| msgid ""
227 #| "The owner of the file specified by I<path> or by I<fd> is changed. Only "
228 #| "the super-user may change the owner of a file. The owner of a file may "
229 #| "change the group of the file to any group of which that owner is a "
230 #| "member. The super-user may change the group arbitrarily."
231 msgid ""
232 "Only a privileged process (Linux: one with the B<CAP_CHOWN> capability) may "
233 "change the owner of a file. The owner of a file may change the group of the "
234 "file to any group of which that owner is a member. A privileged process "
235 "(Linux: with B<CAP_CHOWN>) may change the group arbitrarily."
236 msgstr ""
237 "O proprietário do arquivo especificado por I<path> ou I<fd> é alterada. "
238 "Somente o superusuário pode alterar o proprietário do arquivo. O "
239 "proprietário de um arquivo pode alterar o grupo do arquivo para qualquer "
240 "grupo do qual seja um menbro. O superusuário pode alterar o grupo "
241 "arbitariamente."
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "If the I<owner> or I<group> is specified as -1, then that ID is not changed."
248 msgstr ""
249 "Se o I<owner> ou I<group> é especificado como -1, então aquela ID não é "
250 "alterada."
251
252 #. In Linux 2.0 kernels, superuser was like everyone else
253 #. In Linux 2.2, up to Linux 2.2.12, these bits were not cleared for superuser.
254 #. Since Linux 2.2.13, superuser is once more like everyone else.
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, fuzzy
259 #| msgid ""
260 #| "When the owner or group of an executable file are changed by a non-super-"
261 #| "user, the S_ISUID and S_ISGID mode bits are cleared. POSIX does not "
262 #| "specify whether this also should happen when root does the I<chown>; the "
263 #| "Linux behaviour depends on the kernel version. In case of a non-group-"
264 #| "executable file (with clear S_IXGRP bit) the S_ISGID bit indicates "
265 #| "mandatory locking, and is not cleared by a I<chown>."
266 msgid ""
267 "When the owner or group of an executable file is changed by an unprivileged "
268 "user, the B<S_ISUID> and B<S_ISGID> mode bits are cleared. POSIX does not "
269 "specify whether this also should happen when root does the B<chown>(); the "
270 "Linux behavior depends on the kernel version, and since Linux 2.2.13, root "
271 "is treated like other users. In case of a non-group-executable file (i.e., "
272 "one for which the B<S_IXGRP> bit is not set) the B<S_ISGID> bit indicates "
273 "mandatory locking, and is not cleared by a B<chown>()."
274 msgstr ""
275 "Quando o proprietário ou grupo de um arquivo executável são alterada por um "
276 "usuário comum, os bits S_ISUID e S_ISGID são limpos. A POSIX não especifica "
277 "se isto também deveria acontecer quando superusuário faz o I<chown>; o "
278 "comportamento do Linux depende da versão do kernel. No caso de um arquivo em "
279 "um grupo não executável (com o bit S_IXGRP limpo) o bit S_ISGID bit indica "
280 "bloqueio obrigatório, e não é limpo por um I<chown>."
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "When the owner or group of an executable file is changed (by any user), all "
287 "capability sets for the file are cleared."
288 msgstr ""
289
290 #. type: SS
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "fchownat()"
295 msgstr "fchownat()"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "The B<fchownat>() system call operates in exactly the same way as "
302 "B<chown>(), except for the differences described here."
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
307 #: opensuse-tumbleweed
308 msgid ""
309 "If I<path> is relative, then it is interpreted relative to the directory "
310 "referred to by the file descriptor I<dirfd> (rather than relative to the "
311 "current working directory of the calling process, as is done by B<chown>() "
312 "for a relative pathname)."
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
317 #: opensuse-tumbleweed
318 msgid ""
319 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
320 "I<path> is interpreted relative to the current working directory of the "
321 "calling process (like B<chown>())."
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
326 #: opensuse-tumbleweed
327 msgid "If I<path> is absolute, then I<dirfd> is ignored."
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "The I<flags> argument is a bit mask created by ORing together 0 or more of "
335 "the following values;"
336 msgstr ""
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
343 msgstr ""
344
345 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
346 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
347 #. type: Plain text
348 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
349 #: opensuse-tumbleweed
350 msgid ""
351 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
352 "(which may have been obtained using the B<open>(2) B<O_PATH> flag). In "
353 "this case, I<dirfd> can refer to any type of file, not just a directory. If "
354 "I<dirfd> is B<AT_FDCWD>, the call operates on the current working "
355 "directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its "
356 "definition."
357 msgstr ""
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<AT_SYMLINK_NOFOLLOW>"
364 msgstr "B<AT_SYMLINK_NOFOLLOW>"
365
366 #. type: Plain text
367 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
368 #: opensuse-tumbleweed
369 msgid ""
370 "If I<path> is a symbolic link, do not dereference it: instead operate on the "
371 "link itself, like B<lchown>(). (By default, B<fchownat>() dereferences "
372 "symbolic links, like B<chown>().)"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "See B<openat>(2) for an explanation of the need for B<fchownat>()."
379 msgstr ""
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "RETURN VALUE"
386 msgstr "VALOR DE RETORNO"
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
393 "to indicate the error."
394 msgstr ""
395 "Em caso de sucesso, zero é retornado. Em caso de erro, -1 é retornado, e "
396 "I<errno> é definido para indicar o erro."
397
398 #. type: SH
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "ERRORS"
403 msgstr "ERROS"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "Depending on the filesystem, errors other than those listed below can be "
410 "returned."
411 msgstr ""
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 #, fuzzy
417 #| msgid "The general errors for B<fchown> are listed below:"
418 msgid "The more general errors for B<chown>() are listed below."
419 msgstr "Os erros gerais para B<fchown> são listados abaixo:"
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<EACCES>"
426 msgstr "B<EACCES>"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "Search permission is denied on a component of the path prefix. (See also "
433 "B<path_resolution>(7).)"
434 msgstr ""
435 "Permissão de procura negada em um componente do prefixo do caminho. (Veja "
436 "também B<path_resolution>(7).)"
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "B<EBADF>"
443 msgstr "B<EBADF>"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, fuzzy
449 #| msgid "I<fd> is not a valid file descriptor."
450 msgid "(B<fchown>()) I<fd> is not a valid open file descriptor."
451 msgstr "I<fd> não é um descritor de arquivo válido."
452
453 #. type: Plain text
454 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
455 #: opensuse-tumbleweed
456 #, fuzzy
457 #| msgid "I<fd> is not a valid file descriptor."
458 msgid ""
459 "(B<fchownat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
460 "a valid file descriptor."
461 msgstr "I<fd> não é um descritor de arquivo válido."
462
463 #. type: TP
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, no-wrap
467 msgid "B<EFAULT>"
468 msgstr "B<EFAULT>"
469
470 #. type: Plain text
471 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
472 #: opensuse-tumbleweed
473 msgid "I<path> points outside your accessible address space."
474 msgstr "I<caminho> aponta para fora de seu espaço de endereços acessíveis."
475
476 #. type: TP
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<EINVAL>"
481 msgstr "B<EINVAL>"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid "(B<fchownat>()) Invalid flag specified in I<flags>."
487 msgstr ""
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<EIO>"
494 msgstr "B<EIO>"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, fuzzy
500 #| msgid "A low-level I/O error occurred while modifying the inode."
501 msgid ""
502 "(B<fchown>()) A low-level I/O error occurred while modifying the inode."
503 msgstr "Um erro de baixo nível de E/S ocorreu enquanto modificando o inode."
504
505 #. type: TP
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "B<ELOOP>"
510 msgstr "B<ELOOP>"
511
512 #. type: Plain text
513 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
514 #: opensuse-tumbleweed
515 msgid "Too many symbolic links were encountered in resolving I<path>."
516 msgstr "Muitos links simbólicos foram encontrados na resolução de I<caminho>."
517
518 #. type: TP
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "B<ENAMETOOLONG>"
523 msgstr "B<ENAMETOOLONG>"
524
525 #. type: Plain text
526 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
527 #: opensuse-tumbleweed
528 msgid "I<path> is too long."
529 msgstr "I<caminho> é muito longo."
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<ENOENT>"
536 msgstr "B<ENOENT>"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "The file does not exist."
542 msgstr "O arquivo não existe."
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<ENOMEM>"
549 msgstr "B<ENOMEM>"
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid "Insufficient kernel memory was available."
555 msgstr "A memória do kernel disponível foi insuficiente."
556
557 #. type: TP
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "B<ENOTDIR>"
562 msgstr "B<ENOTDIR>"
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid "A component of the path prefix is not a directory."
568 msgstr "Um componente do prefixo do caminho não é um diretório."
569
570 #. type: Plain text
571 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
572 #: opensuse-tumbleweed
573 msgid ""
574 "(B<fchownat>()) I<path> is relative and I<dirfd> is a file descriptor "
575 "referring to a file other than a directory."
576 msgstr ""
577
578 #. type: TP
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "B<EPERM>"
583 msgstr "B<EPERM>"
584
585 #. type: Plain text
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 msgid ""
589 "The calling process did not have the required permissions (see above) to "
590 "change owner and/or group."
591 msgstr ""
592
593 #. type: Plain text
594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
596 msgid ""
597 "The file is marked immutable or append-only. (See "
598 "B<FS_IOC_SETFLAGS>(2const).)"
599 msgstr ""
600
601 #. type: TP
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "B<EROFS>"
606 msgstr "B<EROFS>"
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 msgid "The named file resides on a read-only filesystem."
612 msgstr "O arquivo nomeado está em um sistema de arquivo somente para leitura."
613
614 #. type: SH
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "VERSIONS"
619 msgstr "VERSÕES"
620
621 #. chown():
622 #. SVr4 documents EINVAL, EINTR, ENOLINK and EMULTIHOP returns, but no
623 #. ENOMEM. POSIX.1 does not document ENOMEM or ELOOP error conditions.
624 #. fchown():
625 #. SVr4 documents additional EINVAL, EIO, EINTR, and ENOLINK
626 #. error conditions.
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid ""
631 "The 4.4BSD version can be used only by the superuser (that is, ordinary "
632 "users cannot give away files)."
633 msgstr ""
634
635 #. type: SH
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "STANDARDS"
640 msgstr "PADRÕES"
641
642 #. type: Plain text
643 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
644 #: opensuse-tumbleweed
645 msgid "POSIX.1-2024."
646 msgstr "POSIX.1-2024."
647
648 #. type: SH
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "HISTORY"
653 msgstr "HISTÓRICO"
654
655 #. type: TP
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, fuzzy, no-wrap
659 #| msgid "B<chown>(2)"
660 msgid "B<chown>()"
661 msgstr "B<chown>(2)"
662
663 #. type: Plain text
664 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
665 #: opensuse-tumbleweed
666 msgid "SVr4, POSIX.1-1988, 4.4BSD."
667 msgstr "SVr4, POSIX.1-1988, 4.4BSD."
668
669 #. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
670 #. type: TP
671 #. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
672 #. type: TQ
673 #. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
674 #. type: TP
675 #. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
676 #. type: TQ
677 #. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
678 #. type: TQ
679 #. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
680 #. type: TP
681 #. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
682 #. type: TP
683 #. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
684 #. type: TP
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, fuzzy, no-wrap
688 #| msgid "B<fchown>(2)"
689 msgid "B<fchown>()"
690 msgstr "B<fchown>(2)"
691
692 #. type: Plain text
693 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
694 #: opensuse-tumbleweed
695 #, fuzzy
696 #| msgid "SVr4, 4.3BSD, POSIX.1-2001."
697 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001."
698 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
699
700 #. #-#-#-#-# archlinux: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
701 #. type: TP
702 #. #-#-#-#-# debian-trixie: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
703 #. type: TQ
704 #. #-#-#-#-# debian-unstable: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
705 #. type: TP
706 #. #-#-#-#-# fedora-44: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
707 #. type: TQ
708 #. #-#-#-#-# fedora-rawhide: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
709 #. type: TQ
710 #. #-#-#-#-# mageia-cauldron: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
711 #. type: TP
712 #. #-#-#-#-# opensuse-leap-16-1: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
713 #. type: TP
714 #. #-#-#-#-# opensuse-tumbleweed: chown.2.pot (PACKAGE VERSION) #-#-#-#-#
715 #. type: TP
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, fuzzy, no-wrap
719 #| msgid "B<chown>(2)"
720 msgid "B<lchown>()"
721 msgstr "B<chown>(2)"
722
723 #. type: Plain text
724 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
725 #: opensuse-tumbleweed
726 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI, POSIX.1-2008."
727 msgstr "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI, POSIX.1-2008."
728
729 #. type: TP
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 #, fuzzy, no-wrap
733 #| msgid "B<fchownat>():"
734 msgid "B<fchownat>()"
735 msgstr "B<fchownat>():"
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
741 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
742
743 #. type: SH
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "NOTES"
748 msgstr "NOTAS"
749
750 #. type: SS
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "Ownership of new files"
755 msgstr ""
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid ""
761 "When a new file is created (by, for example, B<open>(2) or B<mkdir>(2)), "
762 "its owner is made the same as the filesystem user ID of the creating "
763 "process. The group of the file depends on a range of factors, including the "
764 "type of filesystem, the options used to mount the filesystem, and whether or "
765 "not the set-group-ID mode bit is enabled on the parent directory. If the "
766 "filesystem supports the B<-o\\ grpid> (or, synonymously B<-o\\ bsdgroups>) "
767 "and B<-o\\ nogrpid> (or, synonymously B<-o\\ sysvgroups>) B<mount>(8) "
768 "options, then the rules are as follows:"
769 msgstr ""
770
771 #. type: Plain text
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 msgid ""
775 "If the filesystem is mounted with B<-o\\ grpid>, then the group of a new "
776 "file is made the same as that of the parent directory."
777 msgstr ""
778
779 #. type: Plain text
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 msgid ""
783 "If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit "
784 "is disabled on the parent directory, then the group of a new file is made "
785 "the same as the process's filesystem GID."
786 msgstr ""
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 msgid ""
792 "If the filesystem is mounted with B<-o\\ nogrpid> and the set-group-ID bit "
793 "is enabled on the parent directory, then the group of a new file is made the "
794 "same as that of the parent directory."
795 msgstr ""
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 msgid ""
801 "As at Linux 4.12, the B<-o\\ grpid> and B<-o\\ nogrpid> mount options are "
802 "supported by ext2, ext3, ext4, and XFS. Filesystems that don't support "
803 "these mount options follow the B<-o\\ nogrpid> rules."
804 msgstr ""
805
806 #. type: SS
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "glibc notes"
811 msgstr "Notas sobre glibc"
812
813 #. type: Plain text
814 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
815 #: opensuse-tumbleweed
816 msgid ""
817 "On older kernels where B<fchownat>() is unavailable, the glibc wrapper "
818 "function falls back to the use of B<chown>() and B<lchown>(). When I<path> "
819 "is relative, glibc constructs a pathname based on the symbolic link in I</"
820 "proc/self/fd> that corresponds to the I<dirfd> argument."
821 msgstr ""
822
823 #. type: SS
824 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
825 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
826 #, no-wrap
827 msgid "NFS"
828 msgstr "NFS"
829
830 #. type: Plain text
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 msgid ""
834 "The B<chown>() semantics are deliberately violated on NFS filesystems which "
835 "have UID mapping enabled. Additionally, the semantics of all system calls "
836 "which access the file contents are violated, because B<chown>() may cause "
837 "immediate access revocation on already open files. Client side caching may "
838 "lead to a delay between the time where ownership have been changed to allow "
839 "access for a user and the time where the file can actually be accessed by "
840 "the user on other clients."
841 msgstr ""
842 "A semântica B<chown>() são deliberadamente violadas em sistema de arquivos "
843 "NFS que tem mapeamente UID habilitado. Adicionalmente, a semântica de todas "
844 "as chamadas de sistema que acessam o conteúdo do arquivo são violadas, "
845 "porque B<chown>() pode provocar imediata rejeição de acesso em arquivos já "
846 "abertos. O cliente de 'cache' pode conduzir a uma demora entre o tempo onde "
847 "a propriedade tenha sido mudada para permitir acesso a um usuário e o tempo "
848 "onde o arquivo pode ser realmente acessado pelo usuário em outros cliente."
849
850 #. type: SS
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "Historical details"
855 msgstr ""
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 "The original Linux B<chown>(), B<fchown>(), and B<lchown>() system calls "
862 "supported only 16-bit user and group IDs. Subsequently, Linux 2.4 added "
863 "B<chown32>(), B<fchown32>(), and B<lchown32>(), supporting 32-bit IDs. The "
864 "glibc B<chown>(), B<fchown>(), and B<lchown>() wrapper functions "
865 "transparently deal with the variations across kernel versions."
866 msgstr ""
867
868 #. type: Plain text
869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
871 #, fuzzy
872 #| msgid ""
873 #| "In versions of Linux prior to 2.1.81 (and distinct from 2.1.46), "
874 #| "B<chown>() did not follow symbolic links. Since Linux 2.1.81, "
875 #| "B<chown>() does follow symbolic links, and there is a new system call "
876 #| "B<lchown>() that does not follow symbolic links. Since Linux 2.1.86, "
877 #| "this new call (that has the same semantics as the old B<chown>()) has "
878 #| "got the same syscall number, and B<chown>() got the newly introduced "
879 #| "number."
880 msgid ""
881 "Before Linux 2.1.81 (except 2.1.46), B<chown>() did not follow symbolic "
882 "links. Since Linux 2.1.81, B<chown>() does follow symbolic links, and "
883 "there is a new system call B<lchown>() that does not follow symbolic "
884 "links. Since Linux 2.1.86, this new call (that has the same semantics as "
885 "the old B<chown>()) has got the same syscall number, and B<chown>() got "
886 "the newly introduced number."
887 msgstr ""
888 "Em versões do Linux anterior ao 2.1.81 (e separadamente a partir do 2.1.46), "
889 "B<chown>() não segue ligações simbólicas. Desde o Linux 2.1.81, B<chown>() "
890 "segue ligações simbólicas, e há uma chamada de sistema nova B<lchown>() que "
891 "não segue ligações simbólicas. Desde o 2.1.86, esta nova chamada (que tem a "
892 "mesma semântica que o velho B<chown>()) tem o mesmo número de chamada de "
893 "sistema, e B<chown>() adquiriu o número recentemente introduzido."
894
895 #. type: SH
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid "EXAMPLES"
900 msgstr "EXEMPLOS"
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "The following program changes the ownership of the file named in its second "
907 "command-line argument to the value specified in its first command-line "
908 "argument. The new owner can be specified either as a numeric user ID, or as "
909 "a username (which is converted to a user ID by using B<getpwnam>(3) to "
910 "perform a lookup in the system password file)."
911 msgstr ""
912
913 #. type: SS
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 #, no-wrap
917 msgid "Program source"
918 msgstr "Fonte do programa"
919
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 #, no-wrap
924 msgid ""
925 "#include E<lt>pwd.hE<gt>\n"
926 "#include E<lt>stdio.hE<gt>\n"
927 "#include E<lt>stdlib.hE<gt>\n"
928 "#include E<lt>sys/types.hE<gt>\n"
929 "#include E<lt>unistd.hE<gt>\n"
930 "\\&\n"
931 "int\n"
932 "main(int argc, char *argv[])\n"
933 "{\n"
934 " char *endptr;\n"
935 " uid_t uid;\n"
936 " struct passwd *pwd;\n"
937 "\\&\n"
938 " if (argc != 3 || argv[1][0] == \\[aq]\\[rs]0\\[aq]) {\n"
939 " fprintf(stderr, \"%s E<lt>ownerE<gt> E<lt>fileE<gt>\\[rs]n\", argv[0]);\n"
940 " exit(EXIT_FAILURE);\n"
941 " }\n"
942 "\\&\n"
943 " uid = strtol(argv[1], &endptr, 10); /* Allow a numeric string */\n"
944 "\\&\n"
945 " if (*endptr != \\[aq]\\[rs]0\\[aq]) { /* Was not pure numeric string */\n"
946 " pwd = getpwnam(argv[1]); /* Try getting UID for username */\n"
947 " if (pwd == NULL) {\n"
948 " perror(\"getpwnam\");\n"
949 " exit(EXIT_FAILURE);\n"
950 " }\n"
951 "\\&\n"
952 " uid = pwd-E<gt>pw_uid;\n"
953 " }\n"
954 "\\&\n"
955 " if (chown(argv[2], uid, -1) == -1) {\n"
956 " perror(\"chown\");\n"
957 " exit(EXIT_FAILURE);\n"
958 " }\n"
959 "\\&\n"
960 " exit(EXIT_SUCCESS);\n"
961 "}\n"
962 msgstr ""
963
964 #. SRC END
965 #. type: SH
966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
968 #, no-wrap
969 msgid "SEE ALSO"
970 msgstr "VEJA TAMBÉM"
971
972 #. type: Plain text
973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
975 msgid ""
976 "B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), "
977 "B<symlink>(7)"
978 msgstr ""
979 "B<chgrp>(1), B<chown>(1), B<chmod>(2), B<flock>(2), B<path_resolution>(7), "
980 "B<symlink>(7)"
981
982 #. type: TH
983 #: debian-trixie
984 #, no-wrap
985 msgid "2024-06-15"
986 msgstr "15 junho 2024"
987
988 #. type: TH
989 #: debian-trixie
990 #, no-wrap
991 msgid "Linux man-pages 6.9.1"
992 msgstr "Linux man-pages 6.9.1"
993
994 #. type: Plain text
995 #: debian-trixie
996 msgid "Standard C library (I<libc>, I<-lc>)"
997 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
998
999 #. type: Plain text
1000 #: debian-trixie fedora-44 fedora-rawhide
1001 #, no-wrap
1002 msgid ""
1003 "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1004 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1005 "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1006 msgstr ""
1007 "B<int chown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1008 "B<int fchown(int >I<fd>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1009 "B<int lchown(const char *>I<pathname>B<, uid_t >I<owner>B<, gid_t >I<group>B<);>\n"
1010
1011 #. type: Plain text
1012 #: debian-trixie fedora-44 fedora-rawhide
1013 #, no-wrap
1014 msgid ""
1015 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1016 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
1017 msgstr ""
1018 "B<int fchownat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
1019 "B< uid_t >I<owner>B<, gid_t >I<group>B<, int >I<flags>B<);>\n"
1020
1021 #. type: Plain text
1022 #: debian-trixie fedora-44 fedora-rawhide
1023 msgid ""
1024 "B<chown>() changes the ownership of the file specified by I<pathname>, "
1025 "which is dereferenced if it is a symbolic link."
1026 msgstr ""
1027
1028 #. type: Plain text
1029 #: debian-trixie fedora-44 fedora-rawhide
1030 msgid ""
1031 "If the pathname given in I<pathname> is relative, then it is interpreted "
1032 "relative to the directory referred to by the file descriptor I<dirfd> "
1033 "(rather than relative to the current working directory of the calling "
1034 "process, as is done by B<chown>() for a relative pathname)."
1035 msgstr ""
1036
1037 #. type: Plain text
1038 #: debian-trixie fedora-44 fedora-rawhide
1039 msgid ""
1040 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1041 "then I<pathname> is interpreted relative to the current working directory of "
1042 "the calling process (like B<chown>())."
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: debian-trixie fedora-44 fedora-rawhide
1047 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1048 msgstr ""
1049
1050 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1051 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1052 #. type: Plain text
1053 #: debian-trixie fedora-44 fedora-rawhide
1054 msgid ""
1055 "If I<pathname> is an empty string, operate on the file referred to by "
1056 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1057 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1058 "directory. If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1059 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1060 "obtain its definition."
1061 msgstr ""
1062
1063 #. type: Plain text
1064 #: debian-trixie fedora-44 fedora-rawhide
1065 msgid ""
1066 "If I<pathname> is a symbolic link, do not dereference it: instead operate on "
1067 "the link itself, like B<lchown>(). (By default, B<fchownat>() dereferences "
1068 "symbolic links, like B<chown>().)"
1069 msgstr ""
1070
1071 #. type: Plain text
1072 #: debian-trixie fedora-44 fedora-rawhide
1073 msgid ""
1074 "(B<fchownat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1075 "nor a valid file descriptor."
1076 msgstr ""
1077
1078 #. type: Plain text
1079 #: debian-trixie fedora-44 fedora-rawhide
1080 msgid "I<pathname> points outside your accessible address space."
1081 msgstr "I<pathname> aponta para fora do seu espaço de endereços acessíveis."
1082
1083 #. type: Plain text
1084 #: debian-trixie fedora-44 fedora-rawhide
1085 msgid "Too many symbolic links were encountered in resolving I<pathname>."
1086 msgstr "Muitos links simbólicos são encontrados ao resolver I<pathname>."
1087
1088 #. type: Plain text
1089 #: debian-trixie fedora-44 fedora-rawhide
1090 msgid "I<pathname> is too long."
1091 msgstr "I<pathname> é muito longo."
1092
1093 #. type: Plain text
1094 #: debian-trixie fedora-44 fedora-rawhide
1095 msgid ""
1096 "(B<fchownat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1097 "referring to a file other than a directory."
1098 msgstr ""
1099
1100 #. type: Plain text
1101 #: debian-trixie fedora-44 fedora-rawhide
1102 msgid "POSIX.1-2008."
1103 msgstr "POSIX.1-2008."
1104
1105 #. type: Plain text
1106 #: debian-trixie fedora-44 fedora-rawhide
1107 msgid "4.4BSD, SVr4, POSIX.1-2001."
1108 msgstr "4.4BSD, SVr4, POSIX.1-2001."
1109
1110 #. type: Plain text
1111 #: debian-trixie fedora-44 fedora-rawhide
1112 msgid ""
1113 "On older kernels where B<fchownat>() is unavailable, the glibc wrapper "
1114 "function falls back to the use of B<chown>() and B<lchown>(). When "
1115 "I<pathname> is a relative pathname, glibc constructs a pathname based on the "
1116 "symbolic link in I</proc/self/fd> that corresponds to the I<dirfd> argument."
1117 msgstr ""
1118
1119 #. type: TH
1120 #: fedora-44 fedora-rawhide
1121 #, no-wrap
1122 msgid "2024-07-23"
1123 msgstr "23 julho 2024"
1124
1125 #. type: TH
1126 #: fedora-44 fedora-rawhide
1127 #, no-wrap
1128 msgid "Linux man-pages 6.13"
1129 msgstr "Linux man-pages 6.13"
1130
1131 #. type: TH
1132 #: mageia-cauldron
1133 #, no-wrap
1134 msgid "Linux man-pages 6.17"
1135 msgstr "Linux man-pages 6.17"
1136
1137 #. type: TH
1138 #: opensuse-leap-16-1 opensuse-tumbleweed
1139 #, no-wrap
1140 msgid "Linux man-pages (unreleased)"
1141 msgstr "Linux man-pages (não lançado)"