~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/chown.2

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
.\"     (bsdgroups versus sysvgroups, and the effect of the parent
36
36
.\"     directory's set-group-ID permission bit).
37
37
.\"
38
 
.TH CHOWN 2 2008-06-16 "Linux" "Linux Programmer's Manual"
 
38
.TH CHOWN 2 2010-09-20 "Linux" "Linux Programmer's Manual"
39
39
.SH NAME
40
40
chown, fchown, lchown \- change ownership of a file
41
41
.SH SYNOPSIS
54
54
.sp
55
55
.BR fchown (),
56
56
.BR lchown ():
57
 
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
 
57
.PD 0
 
58
.ad l
 
59
.RS 4
 
60
.TP 4
 
61
Since glibc 2.12:
 
62
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
 
63
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED ||
 
64
_POSIX_C_SOURCE\ >=\ 200809L
 
65
.TP
 
66
Before glibc 2.12:
 
67
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
 
68
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
 
69
.RE
 
70
.ad
 
71
.PD
58
72
.SH DESCRIPTION
59
73
These system calls change the owner and group of a file.
60
74
The differ only in how the file is specified:
312
326
.BR path_resolution (7),
313
327
.BR symlink (7)
314
328
.SH COLOPHON
315
 
This page is part of release 3.26 of the Linux
 
329
This page is part of release 3.27 of the Linux
316
330
.I man-pages
317
331
project.
318
332
A description of the project,