Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getcwd / Biblio and APM



Tony Laszlo <laszlo@example.com> writes in tlug@example.com:

> I checked this again. 
> This is the home directory of a user. 
> the permissions for /home and /home/thatuser/ 
> are normal, i.e., exactly the same as the permissions 
> on another machine that runs Linux and doesn't give 
> the same errors. 

You said you `su' as a certain user.  Do you `su someuser' or
`su - someuser'? There's a difference.  The first version does not
change current directory, nor does it read any .profile, etc. files.
The second version not only reads someuser's .profile, it also changes
directory to someuser's $HOME.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links