Debian Codegraph @

po/es/man7/symlink.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.10.0\n"
7 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
8 "PO-Revision-Date: 2021-04-12 20:57+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "symlink"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
26 #: opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-02-08"
29 msgstr "8 Febrero 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, fuzzy, no-wrap
34 #| msgid "Linux man-pages 6.17"
35 msgid "Linux man-pages 6.18"
36 msgstr "Páginas de Manual de Linux 6.17"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NOMBRE"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "symlink - symbolic link handling"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "DESCRIPCIÓN"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "Symbolic links are files that act as pointers to other files. To understand "
63 "their behavior, you must first understand how hard links work."
64 msgstr ""
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 msgid ""
70 "A hard link to a file is indistinguishable from the original file because it "
71 "is a reference to the object underlying the original filename. (To be "
72 "precise: each of the hard links to a file is a reference to the same I<inode "
73 "number>, where an inode number is an index into the inode table, which "
74 "contains metadata about all files on a filesystem. See B<stat>(2).) "
75 "Changes to a file are independent of the name used to reference the file. "
76 "Hard links may not refer to directories (to prevent the possibility of loops "
77 "within the filesystem tree, which would confuse many programs) and may not "
78 "refer to files on different filesystems (because inode numbers are not "
79 "unique across filesystems)."
80 msgstr ""
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 msgid ""
86 "A symbolic link is a special type of file whose contents are a string that "
87 "is the pathname of another file, the file to which the link refers. (The "
88 "contents of a symbolic link can be read using B<readlink>(2).) In other "
89 "words, a symbolic link is a pointer to another name, and not to an "
90 "underlying object. For this reason, symbolic links may refer to directories "
91 "and may cross filesystem boundaries."
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "There is no requirement that the pathname referred to by a symbolic link "
99 "should exist. A symbolic link that refers to a pathname that does not exist "
100 "is said to be a I<dangling link>."
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Because a symbolic link and its referenced object coexist in the filesystem "
108 "name space, confusion can arise in distinguishing between the link itself "
109 "and the referenced object. On historical systems, commands and system calls "
110 "adopted their own link-following conventions in a somewhat ad-hoc fashion. "
111 "Rules for a more uniform approach, as they are implemented on Linux and "
112 "other systems, are outlined here. It is important that site-local "
113 "applications also conform to these rules, so that the user interface can be "
114 "as consistent as possible."
115 msgstr ""
116
117 #. type: SS
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "Magic links"
122 msgstr ""
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 "There is a special class of symbolic-link-like objects known as \"magic "
129 "links\", which can be found in certain pseudofilesystems such as B<proc>(5) "
130 "(examples include I</proc/>pidI</exe> and I</proc/>pidI</fd/>*). Unlike "
131 "normal symbolic links, magic links are not resolved through pathname-"
132 "expansion, but instead act as direct references to the kernel's own "
133 "representation of a file handle. As such, these magic links allow users to "
134 "access files which cannot be referenced with normal paths (such as unlinked "
135 "files still referenced by a running program )."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "Because they can bypass ordinary B<mount_namespaces>(7)-based restrictions, "
143 "magic links have been used as attack vectors in various exploits."
144 msgstr ""
145
146 #. type: SS
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "Symbolic link ownership, permissions, and timestamps"
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "The owner and group of an existing symbolic link can be changed using "
158 "B<lchown>(2). The ownership of a symbolic link matters when the link is "
159 "being removed or renamed in a directory that has the sticky bit set (see "
160 "B<inode>(7)), and when the I<fs.protected_symlinks> sysctl is set (see "
161 "B<proc>(5))."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "The last access and last modification timestamps of a symbolic link can be "
169 "changed using B<utimensat>(2) or B<lutimes>(3)."
170 msgstr ""
171
172 #. Linux does not currently implement an lchmod(2).
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 "On Linux, the permissions of an ordinary symbolic link are not used in any "
178 "operations; the permissions are always 0777 (read, write, and execute for "
179 "all user categories), and can't be changed."
180 msgstr ""
181
182 #. .P
183 #. The
184 #. 4.4BSD
185 #. system differs from historical
186 #. 4BSD
187 #. systems in that the system call
188 #. .BR chown (2)
189 #. has been changed to follow symbolic links.
190 #. The
191 #. .BR lchown (2)
192 #. system call was added later when the limitations of the new
193 #. .BR chown (2)
194 #. became apparent.
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "However, magic links do not follow this rule. They can have a non-0777 "
200 "mode, though this mode is not currently used in any permission checks."
201 msgstr ""
202
203 # #-#-#-#-# debian-unstable: symlink.7.pot (PACKAGE VERSION) #-#-#-#-#
204 #
205 #. type: SS
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "Obtaining a file descriptor that refers to a symbolic link"
210 msgstr ""
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 "Using the combination of the B<O_PATH> and B<O_NOFOLLOW> flags to "
217 "B<open>(2) yields a file descriptor that can be passed as the I<dirfd> "
218 "argument in system calls such as B<fstatat>(2), B<fchownat>(2), "
219 "B<fchmodat>(2), B<linkat>(2), and B<readlinkat>(2), in order to operate on "
220 "the symbolic link itself (rather than the file to which it refers)."
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "By default (i.e., if the B<AT_SYMLINK_FOLLOW> flag is not specified), if "
228 "B<name_to_handle_at>(2) is applied to a symbolic link, it yields a handle "
229 "for the symbolic link (rather than the file to which it refers). One can "
230 "then obtain a file descriptor for the symbolic link (rather than the file to "
231 "which it refers) by specifying the B<O_PATH> flag in a subsequent call to "
232 "B<open_by_handle_at>(2). Again, that file descriptor can be used in the "
233 "aforementioned system calls to operate on the symbolic link itself."
234 msgstr ""
235
236 #. type: SS
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "Handling of symbolic links by system calls and commands"
241 msgstr ""
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 "Symbolic links are handled either by operating on the link itself, or by "
248 "operating on the object referred to by the link. In the latter case, an "
249 "application or system call is said to I<follow> the link. Symbolic links "
250 "may refer to other symbolic links, in which case the links are dereferenced "
251 "until an object that is not a symbolic link is found, a symbolic link that "
252 "refers to a file which does not exist is found, or a loop is detected. "
253 "(Loop detection is done by placing an upper limit on the number of links "
254 "that may be followed, and an error results if this limit is exceeded.)"
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "There are three separate areas that need to be discussed. They are as "
262 "follows:"
263 msgstr ""
264
265 #. type: IP
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "\\[bu]"
270 msgstr "\\[bu]"
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "Symbolic links used as filename arguments for system calls."
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "Symbolic links specified as command-line arguments to utilities that are not "
283 "traversing a file tree."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "Symbolic links encountered by utilities that are traversing a file tree "
291 "(either specified on the command line or encountered as part of the file "
292 "hierarchy walk)."
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "Before describing the treatment of symbolic links by system calls and "
300 "commands, we require some terminology. Given a pathname of the form I<a/b/"
301 "c>, the part preceding the final slash (i.e., I<a/b>) is called the "
302 "I<dirname> component, and the part following the final slash (i.e., I<c>) "
303 "is called the I<basename> component."
304 msgstr ""
305
306 #. type: SS
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "Treatment of symbolic links in system calls"
311 msgstr ""
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "The first area is symbolic links used as filename arguments for system calls."
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid ""
324 "The treatment of symbolic links within a pathname passed to a system call is "
325 "as follows:"
326 msgstr ""
327
328 #. type: IP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "(1)"
333 msgstr "(1)"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "Within the dirname component of a pathname, symbolic links are always "
340 "followed in nearly every system call. (This is also true for commands.) "
341 "The one exception is B<openat2>(2), which provides flags that can be used to "
342 "explicitly prevent following of symbolic links in the dirname component."
343 msgstr ""
344
345 #. type: IP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "(2)"
350 msgstr "(2)"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "Except as noted below, all system calls follow symbolic links in the "
357 "basename component of a pathname. For example, if there were a symbolic "
358 "link I<slink> which pointed to a file named I<afile>, the system call "
359 "I<open(\"slink\" ...\\&)> would return a file descriptor referring to the "
360 "file I<afile>."
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Various system calls do not follow links in the basename component of a "
368 "pathname, and operate on the symbolic link itself. They are: B<lchown>(2), "
369 "B<lgetxattr>(2), B<llistxattr>(2), B<lremovexattr>(2), B<lsetxattr>(2), "
370 "B<lstat>(2), B<readlink>(2), B<rename>(2), B<rmdir>(2), and B<unlink>(2)."
371 msgstr ""
372
373 #. Maybe one day: .BR fchownat (2)
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "Certain other system calls optionally follow symbolic links in the basename "
379 "component of a pathname. They are: B<faccessat>(2), B<fchownat>(2), "
380 "B<fstatat>(2), B<linkat>(2), B<name_to_handle_at>(2), B<open>(2), "
381 "B<openat>(2), B<open_by_handle_at>(2), and B<utimensat>(2); see their manual "
382 "pages for details. Because B<remove>(3) is an alias for B<unlink>(2), that "
383 "library function also does not follow symbolic links. When B<rmdir>(2) is "
384 "applied to a symbolic link, it fails with the error B<ENOTDIR>."
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "B<link>(2) warrants special discussion. POSIX.1-2001 specifies that "
392 "B<link>(2) should dereference I<oldpath> if it is a symbolic link. "
393 "However, Linux does not do this. (By default, Solaris is the same, but the "
394 "POSIX.1-2001 specified behavior can be obtained with suitable compiler "
395 "options.) POSIX.1-2008 changed the specification to allow either behavior "
396 "in an implementation."
397 msgstr ""
398
399 #. type: SS
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "Commands not traversing a file tree"
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "The second area is symbolic links, specified as command-line filename "
411 "arguments, to commands which are not traversing a file tree."
412 msgstr ""
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "Except as noted below, commands follow symbolic links named as command-line "
419 "arguments. For example, if there were a symbolic link I<slink> which "
420 "pointed to a file named I<afile>, the command I<cat slink> would display the "
421 "contents of the file I<afile>."
422 msgstr ""
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 ""
428 "It is important to realize that this rule includes commands which may "
429 "optionally traverse file trees; for example, the command I<chown file> is "
430 "included in this rule, while the command I<chown\\ -R file>, which performs "
431 "a tree traversal, is not. (The latter is described in the third area, "
432 "below.)"
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
437 #: opensuse-tumbleweed
438 msgid ""
439 "If it is explicitly intended that the command operate on the symbolic link "
440 "instead of following the symbolic link \\[em]for example, it is desired that "
441 "I<chown slink> change the ownership of the file that I<slink> is, whether it "
442 "is a symbolic link or not\\[em] then the I<-h> option should be used. In "
443 "the above example, I<chown root slink> would change the ownership of the "
444 "file referred to by I<slink>, while I<chown\\ -h root slink> would change "
445 "the ownership of I<slink> itself."
446 msgstr ""
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid "There are some exceptions to this rule:"
452 msgstr ""
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 ""
458 "The B<mv>(1) and B<rm>(1) commands do not follow symbolic links named as "
459 "arguments, but respectively attempt to rename and delete them. (Note, if "
460 "the symbolic link references a file via a relative path, moving it to "
461 "another directory may very well cause it to stop working, since the path may "
462 "no longer be correct.)"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "The B<ls>(1) command is also an exception to this rule. For compatibility "
470 "with historic systems (when B<ls>(1) is not doing a tree walk\\[em]that is, "
471 "I<-R> option is not specified), the B<ls>(1) command follows symbolic links "
472 "named as arguments if the I<-H> or I<-L> option is specified, or if the I<-"
473 "F>, I<-d>, or I<-l> options are not specified. (The B<ls>(1) command is "
474 "the only command where the I<-H> and I<-L> options affect its behavior even "
475 "though it is not doing a walk of a file tree.)"
476 msgstr ""
477
478 #
479 #. The 4.4BSD system differs from historical 4BSD systems in that the
480 #. .BR chown (1)
481 #. and
482 #. .BR chgrp (1)
483 #. commands follow symbolic links specified on the command line.
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "The B<file>(1) command is also an exception to this rule. The B<file>(1) "
489 "command does not follow symbolic links named as argument by default. The "
490 "B<file>(1) command does follow symbolic links named as argument if the I<-"
491 "L> option is specified."
492 msgstr ""
493
494 #. type: SS
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "Commands traversing a file tree"
499 msgstr ""
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid ""
505 "The following commands either optionally or always traverse file trees: "
506 "B<chgrp>(1), B<chmod>(1), B<chown>(1), B<cp>(1), B<du>(1), B<find>(1), "
507 "B<ls>(1), B<pax>(1), B<rm>(1), and B<tar>(1)."
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "It is important to realize that the following rules apply equally to "
515 "symbolic links encountered during the file tree traversal and symbolic links "
516 "listed as command-line arguments."
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "The I<first rule> applies to symbolic links that reference files other than "
524 "directories. Operations that apply to symbolic links are performed on the "
525 "links themselves, but otherwise the links are ignored."
526 msgstr ""
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 msgid ""
532 "The command I<rm\\ -r slink directory> will remove I<slink>, as well as any "
533 "symbolic links encountered in the tree traversal of I<directory>, because "
534 "symbolic links may be removed. In no case will B<rm>(1) affect the file "
535 "referred to by I<slink>."
536 msgstr ""
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 ""
542 "The I<second rule> applies to symbolic links that refer to directories. "
543 "Symbolic links that refer to directories are never followed by default. "
544 "This is often referred to as a \"physical\" walk, as opposed to a "
545 "\"logical\" walk (where symbolic links that refer to directories are "
546 "followed)."
547 msgstr ""
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 msgid ""
553 "Certain conventions are (should be) followed as consistently as possible by "
554 "commands that perform file tree walks:"
555 msgstr ""
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid ""
561 "A command can be made to follow any symbolic links named on the command "
562 "line, regardless of the type of file they reference, by specifying the I<-H> "
563 "(for \"half-logical\") flag. This flag is intended to make the command-line "
564 "name space look like the logical name space. (Note, for commands that do "
565 "not always do file tree traversals, the I<-H> flag will be ignored if the I<-"
566 "R> flag is not also specified.)"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "For example, the command I<chown\\ -HR user slink> will traverse the file "
574 "hierarchy rooted in the file pointed to by I<slink>. Note, the I<-H> is not "
575 "the same as the previously discussed I<-h> flag. The I<-H> flag causes "
576 "symbolic links specified on the command line to be dereferenced for the "
577 "purposes of both the action to be performed and the tree walk, and it is as "
578 "if the user had specified the name of the file to which the symbolic link "
579 "pointed."
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "A command can be made to follow any symbolic links named on the command "
587 "line, as well as any symbolic links encountered during the traversal, "
588 "regardless of the type of file they reference, by specifying the I<-L> (for "
589 "\"logical\") flag. This flag is intended to make the entire name space look "
590 "like the logical name space. (Note, for commands that do not always do file "
591 "tree traversals, the I<-L> flag will be ignored if the I<-R> flag is not "
592 "also specified.)"
593 msgstr ""
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 "For example, the command I<chown\\ -LR user slink> will change the owner of "
600 "the file referred to by I<slink>. If I<slink> refers to a directory, "
601 "B<chown> will traverse the file hierarchy rooted in the directory that it "
602 "references. In addition, if any symbolic links are encountered in any file "
603 "tree that B<chown> traverses, they will be treated in the same fashion as "
604 "I<slink>."
605 msgstr ""
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid ""
611 "A command can be made to provide the default behavior by specifying the I<-"
612 "P> (for \"physical\") flag. This flag is intended to make the entire name "
613 "space look like the physical name space."
614 msgstr ""
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 msgid ""
620 "For commands that do not by default do file tree traversals, the I<-H>, I<-"
621 "L>, and I<-P> flags are ignored if the I<-R> flag is not also specified. In "
622 "addition, you may specify the I<-H>, I<-L>, and I<-P> options more than "
623 "once; the last one specified determines the command's behavior. This is "
624 "intended to permit you to alias commands to behave one way or the other, and "
625 "then override that behavior on the command line."
626 msgstr ""
627
628 #. type: Plain text
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 msgid "The B<ls>(1) and B<rm>(1) commands have exceptions to these rules:"
632 msgstr ""
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "The B<rm>(1) command operates on the symbolic link, and not the file it "
639 "references, and therefore never follows a symbolic link. The B<rm>(1) "
640 "command does not support the I<-H>, I<-L>, or I<-P> options."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "To maintain compatibility with historic systems, the B<ls>(1) command acts "
648 "a little differently. If you do not specify the I<-F>, I<-d>, or I<-l> "
649 "options, B<ls>(1) will follow symbolic links specified on the command "
650 "line. If the I<-L> flag is specified, B<ls>(1) follows all symbolic links, "
651 "regardless of their type, whether specified on the command line or "
652 "encountered in the tree walk."
653 msgstr ""
654
655 #. type: SH
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "SEE ALSO"
660 msgstr "VÉASE TAMBIÉN"
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid ""
666 "B<chgrp>(1), B<chmod>(1), B<find>(1), B<ln>(1), B<ls>(1), B<mv>(1), "
667 "B<namei>(1), B<rm>(1), B<lchown>(2), B<link>(2), B<lstat>(2), "
668 "B<readlink>(2), B<rename>(2), B<symlink>(2), B<unlink>(2), B<utimensat>(2), "
669 "B<lutimes>(3), B<path_resolution>(7)"
670 msgstr ""
671
672 #. type: TH
673 #: debian-trixie fedora-44 fedora-rawhide
674 #, no-wrap
675 msgid "2024-05-02"
676 msgstr "2 Mayo 2024"
677
678 #. type: TH
679 #: debian-trixie
680 #, no-wrap
681 msgid "Linux man-pages 6.9.1"
682 msgstr "Páginas de Manual de Linux 6.9.1"
683
684 #. type: Plain text
685 #: debian-trixie fedora-44 fedora-rawhide
686 msgid ""
687 "If it is explicitly intended that the command operate on the symbolic link "
688 "instead of following the symbolic link\\[em]for example, it is desired that "
689 "I<chown slink> change the ownership of the file that I<slink> is, whether it "
690 "is a symbolic link or not\\[em]then the I<-h> option should be used. In the "
691 "above example, I<chown root slink> would change the ownership of the file "
692 "referred to by I<slink>, while I<chown\\ -h root slink> would change the "
693 "ownership of I<slink> itself."
694 msgstr ""
695
696 #. type: TH
697 #: fedora-44 fedora-rawhide
698 #, no-wrap
699 msgid "Linux man-pages 6.13"
700 msgstr "Páginas de Manual de Linux 6.13"
701
702 #. type: TH
703 #: mageia-cauldron
704 #, no-wrap
705 msgid "Linux man-pages 6.17"
706 msgstr "Páginas de Manual de Linux 6.17"
707
708 #. type: TH
709 #: opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "Linux man-pages (unreleased)"
712 msgstr "Páginas de Manual de Linux (no publicadas)"