|
From: | Teemu Likonen |
Subject: | bug#3712: 23.1.50; SECURITY: Tramp creates -rwxrwxrwx permission files with /su and /sudo method |
Date: | Mon, 29 Jun 2009 22:10:59 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
On 2009-06-29 18:16 (+0300), Teemu Likonen wrote: > When method /su: or /sudo: is used to _create_ a file the file's > permission will be set to -rwxrwxrwx (777), [...] This also happens when _editing_ an existing file because "backup by renaming" will move the old file aside and the new version of file is really creating a new file. So, if you want to give your /etc/passwd and /etc/shadow the -rwxrwxrwx permissions just edit the files with tramp's /su or /sudo method while having backup by renaming enabled.
[Prev in Thread] | Current Thread | [Next in Thread] |