Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: LUM enabled E-Diriectory User

7 views
Skip to first unread message

Günther Schwarz

unread,
Sep 10, 2013, 12:47:46 PM9/10/13
to
dpaxton wrote:

> Still having issues on this OES 11sp1 box concerning LUM enabled user
> creating files for Apache Web Server.
>
> New edir user created, LUM enabled with www being primary group.
>
> Granted rights on NCP share /srv/www/htdocs to create files
>
> After creating a test.html file and checking permissions, shows file
> owner is the new user with rw rights, but the group is _\"root\"_ with
> no access so Apache can't display the file.
>
> before I created the user I re-read all of AB's instructions and made
> sure I had issued all of these commands.
>
> chown wwwrun:www /srv/www/htdocs
> chmod -R 2775 /srv/www/htdocs
> chgrp -R www /srv/www/htdocs
> chmod -R g+rw /srv/www/htdocs
>
> Check the mask...
> umask
> 0022
>
> There must be a simple fix so the group owner is not root, but www. I
> have read and re-read every instruction and followed them precisely. I
> have gone outside these forums for help so as not to abuse you kind
> folks but it seems OES experienced users are hard to find.

The trick is to ignore the file permissions as shown on the Linux console
completely and stay with ncp rights. For the volumes mounted at /media/nss
by default only root has full access regardless of the permissions as
shown above. chmod or chown will do nothing. Instead change the
permissions with the rights command, with iManager, or with the Novell
Client. Any LUM enabled user will have access depending on these
permissions. Note that the user wwwrun and the group www will have to be
defined in eDirectory and be LUM enabled which is the default for Linux
OES. Also note that by default this group and user will most likely be
defined in /etc/password as well. The uid and guid have to be consistent
with the LUM ones.

Günther
0 new messages