vine-users ML アーカイブ



[vine-users:068676] Re: /tmp ã® permissions?was Re: òso-2022-jp?q?Linuxã®å¸¸è­˜ã‚’ æ•™ãˆã¦ãã ã•ã„)

  • From: Daigoro Toyama <dtoyama@xxxxxxxxxxxxx>
  • Subject: [vine-users:068676] Re: /tmp ã® permissions?was Re: òso-2022-jp?q?Linuxã®å¸¸è­˜ã‚’ æ•™ãˆã¦ãã ã•ã„)
  • Date: Thu, 18 Nov 2004 13:49:28 -0800
戸山ã§ã™ã€‚

On Thursday 18 November 2004 12:14 pm, IKEDA Katsumi wrote:
> æ± ç”°ã§ã™ã€‚
>
> Vine Linux 3.0 ã®å ´åˆã€‚
>   $ ls -ld /tmp
>   drwxrwxrwt   15 root     root         2048 Nov 19 04:49 /tmp/
>
> Debian GNU/Linux 3.0 ã®å ´åˆã€‚
>   $ ls -ld /tmp
>   drwxrwxrwt    4 root     root         4096 Nov 18 06:27 /tmp

ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã—ãŸã€å¤šå°‘分ã‹ã£ã¦ãã¾ã—ãŸã€‚今ã¾ã§ sticky bit ã®æ„味ãŒ
分ã‹ã£ã¦ã„ãªã‹ã£ãŸãŸã‚ã€/tmp ã‚‚ 777 ã§ã‚ã‚‹ã¨å‹˜é•ã„ã—ã¦ãŠã‚Šã¾ã—ãŸã€‚実際
ã« Turbo ã§è¦‹ã¦ã¿ã‚‹ã¨ï¼š

$ ls -ld /tmp
drwxrwxrwt   18 root     root         4096 Nov 18 13:17 /tmp/

ã¨ã€ãã¡ã‚“㨠sticky bit ãŒã‚ªãƒ³ã«ãªã£ã¦ã„ã¾ã—ãŸã€‚

> JF ã® Linux Security HOWTO を読むã¨è‰¯ã„ã§ã—ょã†ã€‚
> http://www.linux.or.jp/JF/JFdocs/Security-HOWTO-5.html
>
> sticky bit ã‚‚å«ã‚ãŸãƒ•ã‚¡ã‚¤ãƒ«ã®ãƒ‘ーミッションã«ã¤ã„ã¦ã¯
> 5.2 ç« ã«æ›¸ã‹ã‚Œã¦ã„ã¾ã™ã€‚
> http://www.linux.or.jp/JF/JFdocs/Security-HOWTO-5.html#ss5.2

リファレンスã¾ã§ã”ä¸å¯§ã«ã‚ã‚ŠãŒã¨ã†ã”ã–ã„ã¾ã—ãŸã€‚ã•ã£ãã読ã¿ãŸã„ã¨æ€ã„
ã¾ã™ã€‚

戸山

-- 
Daigoro F. Toyama
  Vine Linux 3.0 / KDE 3.3.1
  Firefox 0.9.1+ (2004-11-17 TRUNK)