| 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:20+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 "chmod" |
| 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 "chmod, fchmod, fchmodat - change permissions of a file" |
| 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 "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>sys/stat.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int chmod(const char *>I<path>B<, mode_t >I<mode>B<);>\n" |
| 85 |
"B<int fchmod(int >I<fd>B<, mode_t >I<mode>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "" |
| 93 |
"B<#include E<lt>fcntl.hE<gt>> /* Definition of AT_* constants */\n" |
| 94 |
"B<#include E<lt>sys/stat.hE<gt>>\n" |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 99 |
#: opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "B<int fchmodat(int >I<dirfd>B<, const char *>I<path>B<, mode_t >I<mode>B<, int >I<flags>B<);>\n" |
| 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 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#. || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) |
| 112 |
#. || (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) |
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "" |
| 118 |
"B<fchmod>():\n" |
| 119 |
" Since glibc 2.24:\n" |
| 120 |
" _POSIX_C_SOURCE E<gt>= 199309L\n" |
| 121 |
" glibc 2.19 to glibc 2.23\n" |
| 122 |
" _POSIX_C_SOURCE\n" |
| 123 |
" glibc 2.16 to glibc 2.19:\n" |
| 124 |
" _BSD_SOURCE || _POSIX_C_SOURCE\n" |
| 125 |
" glibc 2.12 to glibc 2.16:\n" |
| 126 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 127 |
" || _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 128 |
" glibc 2.11 and earlier:\n" |
| 129 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 130 |
msgstr "" |
| 131 |
|
| 132 |
#. type: Plain text |
| 133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 135 |
msgid "B<fchmodat>():" |
| 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 |
#, no-wrap |
| 142 |
msgid "" |
| 143 |
" Since glibc 2.10:\n" |
| 144 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 145 |
" Before glibc 2.10:\n" |
| 146 |
" _ATFILE_SOURCE\n" |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: SH |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
#, no-wrap |
| 153 |
msgid "DESCRIPTION" |
| 154 |
msgstr "" |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"The B<chmod>() and B<fchmod>() system calls change a file's mode bits. " |
| 161 |
"(The file mode consists of the file permission bits plus the set-user-ID, " |
| 162 |
"set-group-ID, and sticky bits.) These system calls differ only in how the " |
| 163 |
"file is specified:" |
| 164 |
msgstr "" |
| 165 |
|
| 166 |
#. type: IP |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
#, no-wrap |
| 170 |
msgid "\\[bu]" |
| 171 |
msgstr "" |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 175 |
#: opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"B<chmod>() changes the mode of the file specified whose pathname is given " |
| 178 |
"in I<path>, which is dereferenced if it is a symbolic link." |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: Plain text |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
msgid "" |
| 185 |
"B<fchmod>() changes the mode of the file referred to by the open file " |
| 186 |
"descriptor I<fd>." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"The new file mode is specified in I<mode>, which is a bit mask created by " |
| 194 |
"ORing together zero or more of the following:" |
| 195 |
msgstr "" |
| 196 |
|
| 197 |
#. type: TP |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
#, no-wrap |
| 201 |
msgid "B<S_ISUID> (04000)" |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "set-user-ID (set process effective user ID on B<execve>(2))" |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: TP |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "B<S_ISGID> (02000)" |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
msgid "" |
| 221 |
"set-group-ID (set process effective group ID on B<execve>(2); mandatory " |
| 222 |
"locking, as described in B<fcntl>(2); take a new file's group from parent " |
| 223 |
"directory, as described in B<chown>(2) and B<mkdir>(2))" |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: TP |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, no-wrap |
| 230 |
msgid "B<S_ISVTX> (01000)" |
| 231 |
msgstr "" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
msgid "sticky bit (restricted deletion flag, as described in B<unlink>(2))" |
| 237 |
msgstr "" |
| 238 |
|
| 239 |
#. type: TP |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
#, no-wrap |
| 243 |
msgid "B<S_IRUSR> (00400)" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "read by owner" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: TP |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "B<S_IWUSR> (00200)" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "write by owner" |
| 263 |
msgstr "" |
| 264 |
|
| 265 |
#. type: TP |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "B<S_IXUSR> (00100)" |
| 270 |
msgstr "" |
| 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 "" |
| 276 |
"execute/search by owner (\"search\" applies for directories, and means that " |
| 277 |
"entries within the directory can be accessed)" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: TP |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "B<S_IRGRP> (00040)" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "read by group" |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: TP |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "B<S_IWGRP> (00020)" |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "write by group" |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: TP |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "B<S_IXGRP> (00010)" |
| 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 "execute/search by group" |
| 317 |
msgstr "" |
| 318 |
|
| 319 |
#. type: TP |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "B<S_IROTH> (00004)" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "read by others" |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: TP |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "B<S_IWOTH> (00002)" |
| 337 |
msgstr "" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "write by others" |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
#. type: TP |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "B<S_IXOTH> (00001)" |
| 350 |
msgstr "" |
| 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 "execute/search by others" |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"The effective UID of the calling process must match the owner of the file, " |
| 363 |
"or the process must be privileged (Linux: it must have the B<CAP_FOWNER> " |
| 364 |
"capability)." |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "" |
| 371 |
"If the calling process is not privileged (Linux: does not have the " |
| 372 |
"B<CAP_FSETID> capability), and the group of the file does not match the " |
| 373 |
"effective group ID of the process or one of its supplementary group IDs, the " |
| 374 |
"B<S_ISGID> bit will be turned off, but this will not cause an error to be " |
| 375 |
"returned." |
| 376 |
msgstr "" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "" |
| 382 |
"As a security measure, depending on the filesystem, the set-user-ID and set-" |
| 383 |
"group-ID execution bits may be turned off if a file is written. (On Linux, " |
| 384 |
"this occurs if the writing process does not have the B<CAP_FSETID> " |
| 385 |
"capability.) On some filesystems, only the superuser can set the sticky " |
| 386 |
"bit, which may have a special meaning. For the sticky bit, and for set-user-" |
| 387 |
"ID and set-group-ID bits on directories, see B<inode>(7)." |
| 388 |
msgstr "" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
msgid "" |
| 394 |
"On NFS filesystems, restricting the permissions will immediately influence " |
| 395 |
"already open files, because the access control is done on the server, but " |
| 396 |
"open files are maintained by the client. Widening the permissions may be " |
| 397 |
"delayed for other clients if attribute caching is enabled on them." |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: SS |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "fchmodat()" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "" |
| 411 |
"The B<fchmodat>() system call operates in exactly the same way as " |
| 412 |
"B<chmod>(), except for the differences described here." |
| 413 |
msgstr "" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 417 |
#: opensuse-tumbleweed |
| 418 |
msgid "" |
| 419 |
"If I<path> is relative, then it is interpreted relative to the directory " |
| 420 |
"referred to by the file descriptor I<dirfd> (rather than relative to the " |
| 421 |
"current working directory of the calling process, as is done by B<chmod>() " |
| 422 |
"for a relative pathname)." |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 427 |
#: opensuse-tumbleweed |
| 428 |
msgid "" |
| 429 |
"If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then " |
| 430 |
"I<path> is interpreted relative to the current working directory of the " |
| 431 |
"calling process (like B<chmod>())." |
| 432 |
msgstr "" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 436 |
#: opensuse-tumbleweed |
| 437 |
msgid "If I<path> is absolute, then I<dirfd> is ignored." |
| 438 |
msgstr "" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 442 |
#: opensuse-tumbleweed |
| 443 |
msgid "I<flags> can either be 0, or include the following flags:" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 448 |
#: opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "B<AT_EMPTY_PATH> (since Linux 6.6)" |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. commit 5daeb41a6fc9d0d81cb2291884b7410e062d8fa1 |
| 454 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 457 |
#: opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"If I<path> is an empty string, operate on the file referred to by I<dirfd> " |
| 460 |
"(which may have been obtained using the B<open>(2) B<O_PATH> flag). In " |
| 461 |
"this case, I<dirfd> can refer to any type of file, not just a directory. If " |
| 462 |
"I<dirfd> is B<AT_FDCWD>, the call operates on the current working " |
| 463 |
"directory. This flag is Linux-specific; define B<_GNU_SOURCE> to obtain its " |
| 464 |
"definition." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: TP |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "B<AT_SYMLINK_NOFOLLOW>" |
| 472 |
msgstr "" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 476 |
#: opensuse-tumbleweed |
| 477 |
msgid "" |
| 478 |
"If I<path> is a symbolic link, do not dereference it: instead operate on the " |
| 479 |
"link itself." |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "See B<openat>(2) for an explanation of the need for B<fchmodat>()." |
| 486 |
msgstr "" |
| 487 |
|
| 488 |
#. type: SH |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "RETURN VALUE" |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 500 |
"to indicate the error." |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: SH |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "ERRORS" |
| 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 |
"Depending on the filesystem, errors other than those listed below can be " |
| 515 |
"returned." |
| 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 "The more general errors for B<chmod>() are listed below:" |
| 522 |
msgstr "" |
| 523 |
|
| 524 |
#. type: TP |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "B<EACCES>" |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"Search permission is denied on a component of the path prefix. (See also " |
| 536 |
"B<path_resolution>(7).)" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: TP |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "B<EBADF>" |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: Plain text |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
msgid "(B<fchmod>()) The file descriptor I<fd> is not valid." |
| 550 |
msgstr "" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 554 |
#: opensuse-tumbleweed |
| 555 |
msgid "" |
| 556 |
"(B<fchmodat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor " |
| 557 |
"a valid file descriptor." |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: TP |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "B<EFAULT>" |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 569 |
#: opensuse-tumbleweed |
| 570 |
msgid "I<path> points outside your accessible address space." |
| 571 |
msgstr "" |
| 572 |
|
| 573 |
#. type: TP |
| 574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 576 |
#, no-wrap |
| 577 |
msgid "B<EINVAL>" |
| 578 |
msgstr "" |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
msgid "(B<fchmodat>()) Invalid flag specified in I<flags>." |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#. type: TP |
| 587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
#, no-wrap |
| 590 |
msgid "B<EIO>" |
| 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 "An I/O error occurred." |
| 597 |
msgstr "" |
| 598 |
|
| 599 |
#. type: TP |
| 600 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 601 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 602 |
#, no-wrap |
| 603 |
msgid "B<ELOOP>" |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
#. type: Plain text |
| 607 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 608 |
#: opensuse-tumbleweed |
| 609 |
msgid "Too many symbolic links were encountered in resolving I<path>." |
| 610 |
msgstr "" |
| 611 |
|
| 612 |
#. type: TP |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
#, no-wrap |
| 616 |
msgid "B<ENAMETOOLONG>" |
| 617 |
msgstr "" |
| 618 |
|
| 619 |
#. type: Plain text |
| 620 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 621 |
#: opensuse-tumbleweed |
| 622 |
msgid "I<path> is too long." |
| 623 |
msgstr "" |
| 624 |
|
| 625 |
#. type: TP |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
#, no-wrap |
| 629 |
msgid "B<ENOENT>" |
| 630 |
msgstr "" |
| 631 |
|
| 632 |
#. type: Plain text |
| 633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 635 |
msgid "The file does not exist." |
| 636 |
msgstr "" |
| 637 |
|
| 638 |
#. type: TP |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
#, no-wrap |
| 642 |
msgid "B<ENOMEM>" |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
#. type: Plain text |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
msgid "Insufficient kernel memory was available." |
| 649 |
msgstr "" |
| 650 |
|
| 651 |
#. type: TP |
| 652 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 653 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 654 |
#, no-wrap |
| 655 |
msgid "B<ENOTDIR>" |
| 656 |
msgstr "" |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
msgid "A component of the path prefix is not a directory." |
| 662 |
msgstr "" |
| 663 |
|
| 664 |
#. type: Plain text |
| 665 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 666 |
#: opensuse-tumbleweed |
| 667 |
msgid "" |
| 668 |
"(B<fchmodat>()) I<path> is relative and I<dirfd> is a file descriptor " |
| 669 |
"referring to a file other than a directory." |
| 670 |
msgstr "" |
| 671 |
|
| 672 |
#. type: TP |
| 673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
#, no-wrap |
| 676 |
msgid "B<ENOTSUP>" |
| 677 |
msgstr "" |
| 678 |
|
| 679 |
#. type: Plain text |
| 680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 682 |
msgid "" |
| 683 |
"(B<fchmodat>()) I<flags> specified B<AT_SYMLINK_NOFOLLOW>, which is not " |
| 684 |
"supported." |
| 685 |
msgstr "" |
| 686 |
|
| 687 |
#. type: TP |
| 688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
#, no-wrap |
| 691 |
msgid "B<EPERM>" |
| 692 |
msgstr "" |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
msgid "" |
| 698 |
"The effective UID does not match the owner of the file, and the process is " |
| 699 |
"not privileged (Linux: it does not have the B<CAP_FOWNER> capability)." |
| 700 |
msgstr "" |
| 701 |
|
| 702 |
#. type: Plain text |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
msgid "" |
| 706 |
"The file is marked immutable or append-only. (See " |
| 707 |
"B<FS_IOC_SETFLAGS>(2const).)" |
| 708 |
msgstr "" |
| 709 |
|
| 710 |
#. type: TP |
| 711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 713 |
#, no-wrap |
| 714 |
msgid "B<EROFS>" |
| 715 |
msgstr "" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 720 |
msgid "The named file resides on a read-only filesystem." |
| 721 |
msgstr "" |
| 722 |
|
| 723 |
#. type: SH |
| 724 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 725 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 726 |
#, no-wrap |
| 727 |
msgid "VERSIONS" |
| 728 |
msgstr "" |
| 729 |
|
| 730 |
#. type: SS |
| 731 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 732 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 733 |
#, no-wrap |
| 734 |
msgid "C library/kernel differences" |
| 735 |
msgstr "" |
| 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 "" |
| 741 |
"The GNU C library B<fchmodat>() wrapper function implements the POSIX-" |
| 742 |
"specified interface described in this page. This interface differs from the " |
| 743 |
"underlying Linux system call, which does I<not> have a I<flags> argument." |
| 744 |
msgstr "" |
| 745 |
|
| 746 |
#. type: SS |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
#, no-wrap |
| 750 |
msgid "glibc notes" |
| 751 |
msgstr "" |
| 752 |
|
| 753 |
#. type: Plain text |
| 754 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 755 |
#: opensuse-tumbleweed |
| 756 |
msgid "" |
| 757 |
"On older kernels where B<fchmodat>() is unavailable, the glibc wrapper " |
| 758 |
"function falls back to the use of B<chmod>(). When I<path> is a relative " |
| 759 |
"pathname, glibc constructs a pathname based on the symbolic link in I</proc/" |
| 760 |
"self/fd> that corresponds to the I<dirfd> argument." |
| 761 |
msgstr "" |
| 762 |
|
| 763 |
#. type: SH |
| 764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 766 |
#, no-wrap |
| 767 |
msgid "STANDARDS" |
| 768 |
msgstr "" |
| 769 |
|
| 770 |
#. type: Plain text |
| 771 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 772 |
#: opensuse-tumbleweed |
| 773 |
msgid "POSIX.1-2024." |
| 774 |
msgstr "" |
| 775 |
|
| 776 |
#. type: SH |
| 777 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 778 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 779 |
#, no-wrap |
| 780 |
msgid "HISTORY" |
| 781 |
msgstr "" |
| 782 |
|
| 783 |
#. type: TP |
| 784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
#, no-wrap |
| 787 |
msgid "B<chmod>()" |
| 788 |
msgstr "" |
| 789 |
|
| 790 |
#. type: Plain text |
| 791 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 792 |
#: opensuse-tumbleweed |
| 793 |
msgid "SVr4, POSIX.1-1988, 4.4BSD." |
| 794 |
msgstr "" |
| 795 |
|
| 796 |
#. #-#-#-#-# archlinux: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 797 |
#. type: TP |
| 798 |
#. #-#-#-#-# debian-trixie: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 799 |
#. type: TQ |
| 800 |
#. #-#-#-#-# debian-unstable: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 801 |
#. type: TP |
| 802 |
#. #-#-#-#-# fedora-44: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 803 |
#. type: TQ |
| 804 |
#. #-#-#-#-# fedora-rawhide: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 805 |
#. type: TQ |
| 806 |
#. #-#-#-#-# mageia-cauldron: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 807 |
#. type: TP |
| 808 |
#. #-#-#-#-# opensuse-leap-16-1: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 809 |
#. type: TP |
| 810 |
#. #-#-#-#-# opensuse-tumbleweed: chmod.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 811 |
#. type: TP |
| 812 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 813 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 814 |
#, no-wrap |
| 815 |
msgid "B<fchmod>()" |
| 816 |
msgstr "" |
| 817 |
|
| 818 |
#. type: Plain text |
| 819 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 820 |
#: opensuse-tumbleweed |
| 821 |
msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-1996." |
| 822 |
msgstr "" |
| 823 |
|
| 824 |
#. type: TP |
| 825 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 826 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 827 |
#, no-wrap |
| 828 |
msgid "B<fchmodat>()" |
| 829 |
msgstr "" |
| 830 |
|
| 831 |
#. type: Plain text |
| 832 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 833 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 834 |
msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 835 |
msgstr "" |
| 836 |
|
| 837 |
#. type: Plain text |
| 838 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 839 |
#: opensuse-tumbleweed |
| 840 |
msgid "POSIX.1-2008, glibc 2.32, Linux 6.5." |
| 841 |
msgstr "" |
| 842 |
|
| 843 |
#. type: SH |
| 844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 846 |
#, no-wrap |
| 847 |
msgid "SEE ALSO" |
| 848 |
msgstr "" |
| 849 |
|
| 850 |
#. type: Plain text |
| 851 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 852 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 853 |
msgid "" |
| 854 |
"B<chmod>(1), B<chown>(2), B<execve>(2), B<open>(2), B<stat>(2), B<inode>(7), " |
| 855 |
"B<path_resolution>(7), B<symlink>(7)" |
| 856 |
msgstr "" |
| 857 |
|
| 858 |
#. type: TH |
| 859 |
#: debian-trixie |
| 860 |
#, no-wrap |
| 861 |
msgid "2024-06-13" |
| 862 |
msgstr "" |
| 863 |
|
| 864 |
#. type: TH |
| 865 |
#: debian-trixie |
| 866 |
#, no-wrap |
| 867 |
msgid "Linux man-pages 6.9.1" |
| 868 |
msgstr "" |
| 869 |
|
| 870 |
#. type: Plain text |
| 871 |
#: debian-trixie |
| 872 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 873 |
msgstr "" |
| 874 |
|
| 875 |
#. type: Plain text |
| 876 |
#: debian-trixie fedora-44 fedora-rawhide |
| 877 |
#, no-wrap |
| 878 |
msgid "" |
| 879 |
"B<int chmod(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n" |
| 880 |
"B<int fchmod(int >I<fd>B<, mode_t >I<mode>B<);>\n" |
| 881 |
msgstr "" |
| 882 |
|
| 883 |
#. type: Plain text |
| 884 |
#: debian-trixie fedora-44 fedora-rawhide |
| 885 |
#, no-wrap |
| 886 |
msgid "B<int fchmodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<, int >I<flags>B<);>\n" |
| 887 |
msgstr "" |
| 888 |
|
| 889 |
#. type: Plain text |
| 890 |
#: debian-trixie fedora-44 fedora-rawhide |
| 891 |
msgid "" |
| 892 |
"B<chmod>() changes the mode of the file specified whose pathname is given " |
| 893 |
"in I<pathname>, which is dereferenced if it is a symbolic link." |
| 894 |
msgstr "" |
| 895 |
|
| 896 |
#. type: Plain text |
| 897 |
#: debian-trixie fedora-44 fedora-rawhide |
| 898 |
msgid "" |
| 899 |
"If the pathname given in I<pathname> is relative, then it is interpreted " |
| 900 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 901 |
"(rather than relative to the current working directory of the calling " |
| 902 |
"process, as is done by B<chmod>() for a relative pathname)." |
| 903 |
msgstr "" |
| 904 |
|
| 905 |
#. type: Plain text |
| 906 |
#: debian-trixie fedora-44 fedora-rawhide |
| 907 |
msgid "" |
| 908 |
"If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 909 |
"then I<pathname> is interpreted relative to the current working directory of " |
| 910 |
"the calling process (like B<chmod>())." |
| 911 |
msgstr "" |
| 912 |
|
| 913 |
#. type: Plain text |
| 914 |
#: debian-trixie fedora-44 fedora-rawhide |
| 915 |
msgid "If I<pathname> is absolute, then I<dirfd> is ignored." |
| 916 |
msgstr "" |
| 917 |
|
| 918 |
#. type: Plain text |
| 919 |
#: debian-trixie fedora-44 fedora-rawhide |
| 920 |
msgid "I<flags> can either be 0, or include the following flag:" |
| 921 |
msgstr "" |
| 922 |
|
| 923 |
#. type: Plain text |
| 924 |
#: debian-trixie fedora-44 fedora-rawhide |
| 925 |
msgid "" |
| 926 |
"If I<pathname> is a symbolic link, do not dereference it: instead operate on " |
| 927 |
"the link itself. This flag is not currently implemented." |
| 928 |
msgstr "" |
| 929 |
|
| 930 |
#. type: Plain text |
| 931 |
#: debian-trixie fedora-44 fedora-rawhide |
| 932 |
msgid "" |
| 933 |
"(B<fchmodat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> " |
| 934 |
"nor a valid file descriptor." |
| 935 |
msgstr "" |
| 936 |
|
| 937 |
#. type: Plain text |
| 938 |
#: debian-trixie fedora-44 fedora-rawhide |
| 939 |
msgid "I<pathname> points outside your accessible address space." |
| 940 |
msgstr "" |
| 941 |
|
| 942 |
#. type: Plain text |
| 943 |
#: debian-trixie fedora-44 fedora-rawhide |
| 944 |
msgid "Too many symbolic links were encountered in resolving I<pathname>." |
| 945 |
msgstr "" |
| 946 |
|
| 947 |
#. type: Plain text |
| 948 |
#: debian-trixie fedora-44 fedora-rawhide |
| 949 |
msgid "I<pathname> is too long." |
| 950 |
msgstr "" |
| 951 |
|
| 952 |
#. type: Plain text |
| 953 |
#: debian-trixie fedora-44 fedora-rawhide |
| 954 |
msgid "" |
| 955 |
"(B<fchmodat>()) I<pathname> is relative and I<dirfd> is a file descriptor " |
| 956 |
"referring to a file other than a directory." |
| 957 |
msgstr "" |
| 958 |
|
| 959 |
#. type: Plain text |
| 960 |
#: debian-trixie fedora-44 fedora-rawhide |
| 961 |
msgid "" |
| 962 |
"On older kernels where B<fchmodat>() is unavailable, the glibc wrapper " |
| 963 |
"function falls back to the use of B<chmod>(). When I<pathname> is a " |
| 964 |
"relative pathname, glibc constructs a pathname based on the symbolic link in " |
| 965 |
"I</proc/self/fd> that corresponds to the I<dirfd> argument." |
| 966 |
msgstr "" |
| 967 |
|
| 968 |
#. type: Plain text |
| 969 |
#: debian-trixie fedora-44 fedora-rawhide |
| 970 |
msgid "POSIX.1-2008." |
| 971 |
msgstr "" |
| 972 |
|
| 973 |
#. type: Plain text |
| 974 |
#: debian-trixie fedora-44 fedora-rawhide |
| 975 |
msgid "4.4BSD, SVr4, POSIX.1-2001." |
| 976 |
msgstr "" |
| 977 |
|
| 978 |
#. type: TH |
| 979 |
#: fedora-44 fedora-rawhide |
| 980 |
#, no-wrap |
| 981 |
msgid "2024-07-23" |
| 982 |
msgstr "" |
| 983 |
|
| 984 |
#. type: TH |
| 985 |
#: fedora-44 fedora-rawhide |
| 986 |
#, no-wrap |
| 987 |
msgid "Linux man-pages 6.13" |
| 988 |
msgstr "" |
| 989 |
|
| 990 |
#. type: TH |
| 991 |
#: mageia-cauldron |
| 992 |
#, no-wrap |
| 993 |
msgid "Linux man-pages 6.17" |
| 994 |
msgstr "" |
| 995 |
|
| 996 |
#. type: TH |
| 997 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 998 |
#, no-wrap |
| 999 |
msgid "Linux man-pages (unreleased)" |
| 1000 |
msgstr "" |