Package: hobbit
Version: 4.2.0.dfsg-4
Severity: normal

(First of all, sorry for my poor English.)

During installation of hobbit, owner of /tmp directory was changed to
'hobbit:hobbit'.

At the line 28 of hobbit.postinst is as follows.
  cd /usr/lib/hobbit/client; chown hobbit:hobbit logs tmp; chmod u+w logs tmp
                                                     ^^^^                ^^^^

chown command changes the owner of tmp, and chmod command changes the
mode of tmp, but /usr/lib/hobbit/client/tmp is symbolic link to /tmp
directory.
Therefore, it seems that the owner of /tmp directory was changed to
'hobbit:hobbit'.

As permission of /tmp directory is everyone writable, is it unnecessary
to specify tmp in the two parts of the underline shown by above
quotation of line 28?

Thanks,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to