Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2009 17:18:08 +0700
From:      Roby Sadeli <liweitian@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   file and directory permission
Message-ID:  <864079110912200218i26ccce96r2ec4b217c6452833@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi there.

I have been using FreeBSD for some time but my skill is getting really rusty.
I install nginx via the ports collection and it works just fine.
The data files (html) is located in /usr/local/www/ and the directory
permission is as follows:
drwxrwxr-x  5 root   wheel    512 Dec 20 15:54 www

and I changed the user/group permission like this:
# chown -R www:www /usr/local/www
# chmod -R 775 /usr/local/www

My id is user and looks like this:
# id user
uid=1001(user) gid=1001(user) groups=1001(user),0(wheel),80(www)

I am trying to create a file in the /usr/local/www and I can't.
Is there something wrong I did here?

TIA for answers.
Roby



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864079110912200218i26ccce96r2ec4b217c6452833>