Page 1 of 1

conf and mail directory

Posted: Wed Jan 02, 2013 1:10 am
by Omar
This directories should be in the user's home directory?, the user does not have access to them, so why should be there?, maybe is best locate in var directory?

regards

Re: conf and mail directory

Posted: Wed Jan 02, 2013 8:59 am
by skid
The idea behind this is to make admin routines simpler. With such directory structure you can do something like

Code: Select all

tar -czvf user.tar.gz  /home/user
or

Code: Select all

rsync -rzvptlog /home/user/ remote-server:/home/user/ --progress
or

Code: Select all

du -shm /home/user
or even

Code: Select all

rm -rf /home/user

Re: conf and mail directory

Posted: Thu Jan 03, 2013 2:09 am
by Omar
ok, thanks for response :).
Only want prevent that user can view this directories.