В Сбт, 24.01.2004, в 01:57, Peter Ruskin пишет:
> On Friday 23 Jan 2004 20:20, Andrew B. Panphiloff wrote:
> > Today I get next :
> >
> > [EMAIL PROTECTED] /]su - borisych
> > su: warning: cannot change directory to /home/borisych: Permission
> > denied
> > -bash: /home/borisych/.bash_profile: Permission denied
> > -bash-2.05b$ ls -l /home/ | grep borisych
> > drwx------    2 borisych borisych     4096 Jan 12 17:05 borisych
> 
> $ ls -l /home/ | grep peter
> drwxr-xr--  140 peter    peter        8192 Jan 23 22:49 peter
> 
> So go to another console, log on as root and do
> chmod g+rx o+r /home/borisych
> 
> Peter

I already fix home directory for borisych , so for another user :

[EMAIL PROTECTED] /]ls -la /home/ | grep alucard
drwx------    2 alucard  alucard      4096 Dec 12 14:23 alucard
[EMAIL PROTECTED] /]ls -la /home/alucard/ | grep alucard
drwx------    2 alucard  alucard      4096 Dec 12 14:23 .
-rw-------    1 alucard  alucard        29 Dec 17 16:25 .bash_history
-rw-r--r--    1 alucard  alucard        24 Dec  6 17:49 .bash_logout
-rw-r--r--    1 alucard  alucard       191 Dec  6 17:49 .bash_profile
-rw-r--r--    1 alucard  alucard       124 Dec  6 17:49 .bashrc
[EMAIL PROTECTED] /]chmod 755 /home/alucard
[EMAIL PROTECTED] /]su - alucard
[EMAIL PROTECTED] alucard]$ ls -la
total 24
drwxr-xr-x    2 alucard  alucard      4096 Dec 12 14:23 .
drwxr-xr-x   13 root     root         4096 Jan 23 17:08 ..
-rw-------    1 alucard  alucard        29 Dec 17 16:25 .bash_history
-rw-r--r--    1 alucard  alucard        24 Dec  6 17:49 .bash_logout
-rw-r--r--    1 alucard  alucard       191 Dec  6 17:49 .bash_profile
-rw-r--r--    1 alucard  alucard       124 Dec  6 17:49 .bashrc
[EMAIL PROTECTED] alucard]$ cat .bashrc
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
[EMAIL PROTECTED] alucard]$ cat .bash_history 
cat: .bash_history: Permission denied
[EMAIL PROTECTED] alucard]$ 


But changing permitions for directories to 755 and for files 644
is not solution !!!



--
[EMAIL PROTECTED] mailing list

Reply via email to