bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tocuh: protect ones' self against ones' self


From: Dan Jacobson
Subject: tocuh: protect ones' self against ones' self
Date: Wed, 20 Dec 2006 22:29:57 +0800

touch Info page says:
      If changing both the access and modification times to the current
   time, `touch' can change the timestamps for files that the user running
   it does not own but has write permission for.  Otherwise, the user must
   own the files.

Please reword. "Otherwise"=not both access and modification, not
current time, ...??? many unclear possibilities!

Anyway, I want driven home that one cannot protect ones' self from
touch:

$ chmod 444 file
$ touch file
will indeed act like the file was 666.

Mention how one can protect ones' self against ones' self.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]