Error between Hpux and Redhat mount

  • Follow


I have a Redhat 9 NAS with an exported filesystem.

I have mounted this filesystem on to a HPUX 10.20 system.

Both systems use NIS for user authentication.

When I login to the Hpux system and cd to the mounted filesystem, I can
create a file or directory, delete it and change the group ownership,
but I a CHOWN does not work.  It tells me I am not the owner.

I have the system exported from the Linux system as

/exports/releases *(sync,insecure,rw,no_auth_nlm,no_root_squash)

Help would be greatly appreciated.

0
Reply bornem (1) 5/11/2005 6:13:42 PM

In article <1115835222.279604.43000@g14g2000cwa.googlegroups.com>, bornem wrote:
> I have a Redhat 9 NAS with an exported filesystem.
> 
> I have mounted this filesystem on to a HPUX 10.20 system.
> 
> Both systems use NIS for user authentication.
> 
> When I login to the Hpux system and cd to the mounted filesystem, I can
> create a file or directory, delete it and change the group ownership,
> but I a CHOWN does not work.  It tells me I am not the owner.
> 
> I have the system exported from the Linux system as
> 
> /exports/releases *(sync,insecure,rw,no_auth_nlm,no_root_squash)
> 
> Help would be greatly appreciated.

If you do an 'ls -l' on the file, does it show your user ID as owner? 

Kevin

-- 
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
0
Reply Kevin 5/11/2005 8:35:47 PM


On 2005-05-11, bornem <bornem@navcanada.ca> wrote:

> I have a Redhat 9 NAS with an exported filesystem.
> I have mounted this filesystem on to a HPUX 10.20 system.
> Both systems use NIS for user authentication.
>
> When I login to the Hpux system and cd to the mounted filesystem, I can
> create a file or directory, delete it and change the group ownership,
> but I a CHOWN does not work.  It tells me I am not the owner.
>
> I have the system exported from the Linux system as
> /exports/releases *(sync,insecure,rw,no_auth_nlm,no_root_squash)

Are you root when attempting chown ?
Can you create a file as root on the volume ?
(Your no_root_squash setting should allow this.)

Have you enabled chown for non-root users in /etc/privgrp ?
http://www.faqs.org/faqs/hp/hpux-faq/section-62.html

-- 
Elvis Notargiacomo  master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
    Powergen write "Why not stay with us" - let me count the ways!
0
Reply all 5/12/2005 6:55:43 AM

It appears the problem is with Redhat, chown is disabled for everyone
except root.  I will research at that end.

Thanks for everone's suggestions.

Martin

0
Reply bornem 5/12/2005 1:26:22 PM

On 2005-05-12, bornem <bornem@navcanada.ca> wrote:

> It appears the problem is with Redhat, chown is disabled for everyone
> except root.

man 2 chown
man 7 capabilities

-- 
Elvis Notargiacomo  master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
    Powergen write "Why not stay with us" - let me count the ways!
0
Reply all 5/12/2005 8:00:19 PM

4 Replies
214 Views

(page loaded in 0.773 seconds)

Similiar Articles:













7/26/2012 3:26:13 PM


Reply: