Operating System - HP-UX
1834499 Members
2388 Online
110068 Solutions
New Discussion

CDE Filemanager ownership changing

 
Juliana Lee
Occasional Advisor

CDE Filemanager ownership changing

Hi

I have two servers running HP-UX 10.0 and HP-UX 11.0, and with 10.0 I can use filemanager to change the ownership but not on 11.0. Any idea that I can do it using CDE filemanager? Thanks.
13 REPLIES 13
Shannon Petry
Honored Contributor

Re: CDE Filemanager ownership changing

You can use the HP-UX 11 file manager to change permissions just like in 10.X. I dont have any more 10.X laying around, but I think there was a menu option for Permissions. It is now changed under "Properties".

Same panel allows you to change owner and group, as well as permissions, recursive option, on some systems even ACL support.

Regards,
Shannon
Microsoft. When do you want a virus today?
Paul Sperry
Honored Contributor

Re: CDE Filemanager ownership changing

Iam on 11.11 and in filemanager
I just right click on a file and then click change permissions.
Juliana Lee
Occasional Advisor

Re: CDE Filemanager ownership changing

I selected the file that I had created and right clicked on it, then I selected "change permission". But the fields of owner and group are not editable. In HP-UX 10.0 these two fields are editable.
Patrick Wallek
Honored Contributor

Re: CDE Filemanager ownership changing

I have just logged into CDE on one of our 11.0 machines and brought up file manager. I can change the ownership of the file with no problems.

I selected the file (single click on it) and then right click and select the "Change permissions" option from the menu that comes up.

If you can't change the ownership, is it possible that you don't have the appropriate access to change the ownership? How are you logging in? What file(s) are you trying to change?
Patrick Wallek
Honored Contributor

Re: CDE Filemanager ownership changing

You might check and see if you have the latest CDE patch.

I was logged into CDE as root and had no problem editing the owner and group fields to change the ownership.
Juliana Lee
Occasional Advisor

Re: CDE Filemanager ownership changing

I am attaching a snapshot on how the window looked like from my server. I don't see any properties option that I can select from the menu.
Juliana Lee
Occasional Advisor

Re: CDE Filemanager ownership changing

I know root can change it but in HP-UX 10.0 any user can change the ownership to other user, not restricted to root like 11.0.
Patrick Wallek
Honored Contributor

Re: CDE Filemanager ownership changing

I've just logged into CDE as a regular user, brought up file manager and was able to change the owner of a file that I owned.

Once you change the owner, you won't necessarily be able to change it back again.

The only way my file manager does NOT give the option to modify the owner or group on a file is if I don't have permission to do so.
Juliana Lee
Occasional Advisor

Re: CDE Filemanager ownership changing

Do you know what patches are required? The file I was trying to change is under my possession. I could use 10.0 to change the ownership but not on 11.0 because the two fields are not editable. (The 2 servers are under NIS and have the centralized HOME).
Shannon Petry
Honored Contributor

Re: CDE Filemanager ownership changing

I dont think this is a patch issue as much as ownership and permissions.

I think that only the user owning a file, no matter the permissions can change ownership. (outside of root of course).

If you are sure that you owned the file, does the NIS ID which the NFS server read match the ID you were logged in under?

I have no problems doing what you say cant be done, so would suggest you look for other problems causing this symptom.

Regards,
Shannon
Microsoft. When do you want a virus today?
Patrick Wallek
Honored Contributor

Re: CDE Filemanager ownership changing

You might try PHSS_26490 ( http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26490&context=hpux:800:11:00 ), which is the Recommended CDE Runtime Periodic patch or PHSS_27869 ( http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_27869&context=hpux:800:11:00 ), which is the Latest CDE Runtime Periodic patch.
Patrick Wallek
Honored Contributor

Re: CDE Filemanager ownership changing

Another thing to try on the 11.0 machine is to attempt to change the ownership of that file via the command line (chown username filename). If it fails there, then you do have a different problem somewhere.

Since you said that the directory is NFS mounted, is the filesystem exported the same for both machines? Does one machine have different export options than the other on the exporting host? Another question is are they mounted with similar options on the 10.X machine and the 11.X machine?
Juliana Lee
Occasional Advisor

Re: CDE Filemanager ownership changing

Thank you guys. I clicked on the Help menu from filemanager and had found out that only root can change the ownership of the files. I wonder why it works on yours 11.x but not mine. I have other standalone machines on 11.x and have the same problem of changing the ownership. I guess I will try to update the patches and start from there, if it still doesn't work then the command line is the only solution. Thanks again.