Hi Lawson,

Well, that was a typo... I'm familiar with ms-dos (v1.1) so I kind of know how to jump 
around directories ;-).

I meant that a user could go from the root-dir to it's own userdir but not by changing 
first to /home. If a user does a cd /home/user1 from the root everything goes well... 
But before this, it was possible for users viewing /home. That is currently not 
possible. Only if the user knows the entire path to its home-dir he can change to it...

Gnome and KDE-stuff is having difficulties letting the user to go up one level from 
its own /home/user1-dir to another, because the acces is denied for /home. (like: when 
xmms has to change from the /home/user1 to /mnt/cdrom/mp3, it has to pass /home)...

This was just to let everybody know the problems I got, after the security-scripts has 
messed up the permissions. The only thing I would like to know is: what should be 
'standard' permissions for /home and for /home/user1, /home/user2 etc... If there is 
any 'standard' for this...



Thanks,
David.







| From: [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
|
| Hi All,
|
| My laptop (pI, 133) has mandrake 7 installed on it. During fiddling
| with it, it happens that I cannot retrieve control over it and I'm
| forced to use the reset button. Nothing strange as I'm very good at
| trashing it.
|
| After reboot, mandrake starts a security-script checking permissions
| and ports.  As I'm just a newbie, I just let it happen. But sometimes
| it finds that files and directorys are 'world-writeable', and it
| changes permissions back to 'root'. Very secure,
| but sometimes I'm having difficulties restoring the permissons back to
| usual. Now; permissions for /home and /home/user1, /home/user2 etc are
| incorrect as the users cannot change to /home.
|
| Can anybody give me the 'standard' permissions of /home,  /home/user1,
| /home/user2 etc? Why are the permissions changed that a user cannot
| change to /home but he can change to / or to his own directory, as long
| as he remembers the whole path?
|
| ie:
| cd /
| cd /home
| cd /user1
| --> does not work, access denied in after cd /home

Of course it doesn't.  Is there a directory named /user1?  Is it not
named /home/user1?  A path that starts with / is relative to the root of
the filesystem tree.

Try:

cd /home
cd ./user1

or cd /home
cd user1
|
| cd /
| cd /home/user1
| --> does work...

>What is mostly wrong with permissions is _nobody_ has permission to cd
>to a directory that doesn't exist.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to