Chown

Synopsis

This module enables to change owner’s permission. It can change the permission on individual file Or directory. Before that you must be aware of the default permission assigned to your files and directories at the time you create it.

Help command

This help command explains about the installation of a particular module. The help command is easy to operate by the end user. It also lists out the alternative parameters that are used in declaration. The following command guides the user about the handling this module.

ptconfigure chown help

After giving the command, the command will list the help options. The following screen shots will give visual effect for the usage of this module.

Kevell@corp:/# ptconfigure chown help
******************************

 This command handles file user ownership changing functions.

  Chown, chown

- path
Will change the user ownership of a path
example: ptconfigure chown path --yes --guess --recursive --path=/a/file/path --owner=golden

------------------------------
End Help
******************************

Path

It is an excellent process for this module under ptconfigure by slightly using the command given below,

ptconfigure chown path –yes—guess—recursive—path=/ptconfigure—owner=Kevells

Then we can enter the input.

Enter Ownership User

After typing the owner name

It will display Chown result success.

This is Visually shown by the following screen shot.

kevell@corp:/# ptconfigure chown path --yes --guess --recursive --path=/phj.php --owner=deepak

Enter ownership user:
kevell
[Pharaoh Logging] [Chown] Executing chown -R deepak /phj.php
******************************


Chown Result: Success
------------------------------
Chown Finished
******************************

Alternative Parameter

There are two alternative parameter available.

Chown, chown

Benefits

  • The module can change the owner at any time with ptconfigure.
  • While doing recursive process if you change single file the entire folder can also be changed.
  • We can verify the current status of the owner.
comments powered by Disqus