Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
lagern Absent Member.
Absent Member.
1957 views

SLES, OES SP2, NFS, permissions question.

I have an "NFS Gateway" server which i manage.

The purpose is simple.

Novell users, access a volume via Windows workstations running the novell client.
This volume is stored locally on a SLES server, is formatted with ext3, and is also NFS shared so that a server (non sles) can NFS mount it, and read the data which is placed by the users.

So we have something like:

Users <-ncp-> NFS Gateway Server(sles, with oes) <-nfs-> Linux server

The linux server knows nothing of novell, it simply mounts nfs via /etc/fstab

The problem comes down to permissions.
The linux server expects certain ownership of the files which it's accessing. When a novell user comes in and places a file, permissions are somthing like: rw------- the owner is something like 913263:root. The 913263 is a novell uid.

Currently, i have a temporary fix which simply resets the ownership via a cron job that runs once a minute. I'd like a more permenant fix.

Is there any way to have OES override the permissions, and set them to a specific uid/gid when a file is placed in the volume? I've had limited success with filesystem ACL's and setgid on the linux side. This completely resolves the problem for files created on the nfs server via linux, but the novell placed files are still not right over nfs.

Any suggestions would be helpful. Thanks!
Labels (2)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: SLES, OES SP2, NFS, permissions question.

lagern,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://support.novell.com/forums/

0 Likes
Highlighted
lagern Absent Member.
Absent Member.

Re: SLES, OES SP2, NFS, permissions question.

I just wanted to respond and let everyone know that i've found a solution to this.
It was actually in an unrelated Novell forum posting.

http://forums.novell.com/novell-product-support-forums/open-enterprise-server/oes-linux/oes-l-administration/130431-ncp-mount-reiser-umask.html

That post dealt with a similar issue, but in a completely different way. So i didnt find it with my initial searches.

Hope this information helps someone else out.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.