1834746 Members
2861 Online
110070 Solutions
New Discussion

mouting problem

 
SOLVED
Go to solution
szhiyong
Frequent Advisor

mouting problem

Hi,

I try "mount /dev/vg01/lvxxx /usr4", then I "ls -al", I find:
. root root

I want the result of "ls -al" as:
. neurousr users

Do someone know how to do this?

Thanks a lot.

zhiyong
My life is now asking and learning, I wish It can change into replying and discussing
3 REPLIES 3
Animesh Chakraborty
Honored Contributor
Solution

Re: mouting problem

first mount /usr4
then do
#chown -R neurousr:user /usr4

unmount and mount again to check
Did you take a backup?
T G Manikandan
Honored Contributor

Re: mouting problem

the user must be given ownership to /usr4

#chown neurousr:users /usr4
If you also want to provide the directories and files inside the /usr4 file system then you can use the -R (recursive option of chown).

Just give ls -ld to check the permissions of the file system.
Also make sure that you have a entry in /etc/fstab so that at next reboot the file system is automatically mounted.

Thanks
szhiyong
Frequent Advisor

Re: mouting problem

Hi,

Thanks a lot. I appreciated it!

zhiyong
My life is now asking and learning, I wish It can change into replying and discussing