Operating System - HP-UX
1830366 Members
2267 Online
110001 Solutions
New Discussion

chmod: can't change <userid>: Not owner

 
SOLVED
Go to solution
chandu_2
Occasional Advisor

chmod: can't change <userid>: Not owner

I logged in as root on HP-UX 11.00 and When I try to change permissions(750)for one of the user home directory, I get the following error message.
chmod: can't change : Not owner

Any help / suggestions please....
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: chmod: can't change <userid>: Not owner

That's odd. What about if you su to the user in question and then try to change permissions?


Pete

Pete
MarkSyder
Honored Contributor
Solution

Re: chmod: can't change <userid>: Not owner

Is this a remotely mounted directory?

If so, you will have to log into the server/workstation where the directory is and change the permissions there. This has caught me out lots of times!

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Cheryl Griffin
Honored Contributor

Re: chmod: can't change <userid>: Not owner

Check your permissions,owner,group on chmod, they're probably wrong.

# ll /sbin/chmod /usr/bin/chmod
-r-xr-xr-x 1 bin bin 245760 Jun 12 2002 /sbin/chmod
-r-xr-xr-x 1 bin bin 32768 Jun 12 2002 /usr/bin/chmod
"Downtime is a Crime."
Geoff Wild
Honored Contributor

Re: chmod: can't change <userid>: Not owner

What is the syntax of the command you are running?

should be:

chmod 750 /home/userid

Are you sure you are root?

id

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
chandu_2
Occasional Advisor

Re: chmod: can't change <userid>: Not owner

Thanks Guys...

1. The home directory was a NFS mount.

Logged on NFS server and changed the permissions successfully...

Thank you Mark :)