On Thu, May 10, 2007 at 06:11:49AM -0300, John Nietzsche wrote:
| I am not playing with sudoers file! This just a bare install.
|
| $ ls -ld /usr/ports /usr/src
| drwxrwxr-x  46 root  wheel  1024 May 10 03:21 /usr/ports
| drwxrwxr-x  18 root  wsrc    512 Mar 11 16:19 /usr/src
|
| Isn't it strange that the ports/src directories have write bit group
| permission on?
|
| $ cd /usr/ports/distfiles/
| $ ls -ld . openmotif
| drwxr-xr-x  3 sioux  wheel  1536 May 10 06:01 .
| drwxr-xr-x  2 sioux  wheel   512 May 10 03:17 openmotif
| $ cat /etc/mk.conf
| cat: /etc/mk.conf: No such file or directory
| $
|
|
|
| Thanks in advance.

/usr/ports is writeable by you (since you're in wheel) and you created
/usr/ports/distfiles (thus owning it). It's not very strange that you
can write to directories you own, basic UNIX file permission stuff.

Cheers,

Paul 'WEiRD' de Weerd

| On 5/10/07, Clint Pachl <[EMAIL PROTECTED]> wrote:
| >John Nietzsche wrote:
| >> Dear gentleman/madam,
| >>
| >> i have just installed openbsd 4.1. I am very happy with it, but
| >> something i was not expecting is happening:
| >>
| >> As an ordinary user (belonging to the group wheel) i switched to the
| >> ports collection directory (/usr/ports/x11/openmotif) and issued i
| >> "make fetch".
| >>
| >> I got surprised when the tarball started to be dowloaded in
| >> /usr/ports/distfiles although its sticky bit is not on.
| >>
| >> May someone here explain me how it is possible?
| >
| >Please provide some more info:
| >
| >$ cd /usr/ports/distfiles
| >$ ls -ld . openmotif*
| >$ cat /etc/mk.conf
| >
| >Did you grant yourself permission in the sudoers file?
| >
| >Disclaimer: I am not running 4.1
|

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to