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