~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to src/chcon.c

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* chcon -- change security context of files
2
 
   Copyright (C) 2005-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 2005-2013 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
357
357
      fputs (_("\
358
358
Change the security context of each FILE to CONTEXT.\n\
359
359
With --reference, change the security context of each FILE to that of RFILE.\n\
360
 
\n\
361
360
"), stdout);
 
361
 
 
362
      emit_mandatory_arg_note ();
 
363
 
362
364
      fputs (_("\
363
365
      --dereference      affect the referent of each symbolic link (this is\n\
364
366
                         the default), rather than the symbolic link itself\n\
371
373
  -l, --range=RANGE      set range RANGE in the target security context\n\
372
374
"), stdout);
373
375
      fputs (_("\
 
376
      --no-preserve-root  do not treat '/' specially (the default)\n\
 
377
      --preserve-root    fail to operate recursively on '/'\n\
 
378
"), stdout);
 
379
      fputs (_("\
374
380
      --reference=RFILE  use RFILE's security context rather than specifying\n\
375
381
                         a CONTEXT value\n\
376
382
"), stdout);