Subject: Re: PR 36963
To: Jarle Greipsland <jarle@uninett.no>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: tech-kern
Date: 09/19/2007 14:31:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Jarle Greipsland wrote:
> Jan Danielsson <jan.m.danielsson@gmail.com> writes:
>> nl102-238-202# su - pkgsrc
>> $ ls -l
>> ls: .: Permission denied
>> $ ls -l update_wip
>> - -rwx------  1 pkgsrc  users  158 Jun 18 05:15 update_wip
>> $ ls -l
>> ls: .: Permission denied
>> $ ls -l upda*
>> ls: upda*: No such file or directory
>> $ ls -l *
>> ls: *: No such file or directory
>> $ ls -l .
>> ls: .: Permission denied
>> $ ls -l ..
>> ls: ..: Permission denied
>> $ ls -l /
>> ls: /: Permission denied
>> $ pwd
>> /home/pkgsrc
> Is /home/pkgsrc (or /home for that matter) a mount point?  If so,
> what are the permissions on the directory you mount the partition
> on? (i.e. the directory _before_ you mount the partition).

   /home is a mount point. I'll need to reboot and verify, but I'm
fairly certain it's "drwxr-xr-x root wheel" (because that's what all the
other directories have that I created at the time; I'm I'm 100% sure
that I didn't meddle around with the permissions, umask, or anything
like it). But it should be noted that the postfix, postgresql, and
apache users don't touch /home. postgresql resides under /var (which is
directly under /), and they exhibit the same kind of error.

- --
Kind regards,
Jan Danielsson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFG8RaZuPlHKFfKXTYRChUKAJ4/QJC3zwp60YvdSIXp9paYMhOsDwCgkqcY
mytnHEfdpgufyPaV46vB/uQ=
=H5sJ
-----END PGP SIGNATURE-----