Operating System - HP-UX
1833788 Members
2366 Online
110063 Solutions
New Discussion

Re: CHAGE User id owner to Filesystem

 
SOLVED
Go to solution
VICBUR1507
Frequent Advisor

CHAGE User id owner to Filesystem

Hello,

Anybody help me, I need change the PErmisions/owner to filesystem.

What command i can do??

Thanks
4 REPLIES 4
Ganesan R
Honored Contributor
Solution

Re: CHAGE User id owner to Filesystem

Hi,

To chane the permission
=======================
#chmod newpermission dir/file
Ex:
#chmod 755 /var

To change the ownership
=======================
#chown group:user dir/file
Ex:
chown dba:oracle /oracle
Best wishes,

Ganesh.
Analyst
Trusted Contributor

Re: CHAGE User id owner to Filesystem

Hi VICBUR1507,
There is no command to assign the filssytem permission.
Its chmod,chown, for the mounted filesystem directories.

Ganesan R
Honored Contributor

Re: CHAGE User id owner to Filesystem

Hi,

There is a mistake in my previous post.

>>>>#chown group:user dir/file<<<<

The above is wrong. Correct syntax is

#chown user:group dir/file

More options,

If you just want to ownership alone,

#chown dir/file
Ex:chown oracle /oracle

If you want to change group ownership,
#chgrp dir/file
Ex:chgrp dba /oracle
Best wishes,

Ganesh.
VICBUR1507
Frequent Advisor

Re: CHAGE User id owner to Filesystem

Thanks, Guys