Quote:
Originally Posted by rylan76
Not sure what you mean, but you can change ownership for files in a directory by logging in as root and doing
chown -R username.username directoryname
in a terminal
where
username = your username
directoryname = the name of the directory.
This should change the directory itself as well as the files it contains to the username you specify.
|
If I change ownership supposed it is in /var/lib/mysql directory the increasing bytes consumed on my HDD are owned by /var/lib/mysql or by my [username]? /usr/home/nnnnname
what I want is to avoid /var to become full? I am running out of space in /var but my /usr/ is 100+G.
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup_ID_17452-LogVol1
1008M 206M 752M 22% /
/dev/sda3 190M 15M 166M 8% /boot
none 2.0G 0 2.0G 0% /dev/shm
/dev/mapper/VolGroup_ID_17452-LogVol2
496M 15M 457M 4% /tmp
/dev/mapper/VolGroup_ID_17452-LogVol5
154G 3.1G 143G 3% /usr
/dev/mapper/VolGroup_ID_17452-LogVol4
496M 359M 112M 77% /var
/dev/mapper/VolGroup_ID_17452-LogVolHome
123G 5.0G 112G 5% /home
because of a lots of log files in apache, php, mysql, oracle, 3rd party...etc..etc...running simultanously my /var is easy to become out of space.
what am I going to do?