LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Root and User (https://www.linuxquestions.org/questions/linux-newbie-8/root-and-user-480848/)

win2suse 09-06-2006 03:39 AM

Root and User
 
Hallo all,

I installed debian on my laptop, and assigned one user. As root I mkdir /home/user_name/program. However when I enter the directory as a user, I'm told that I have no right to save sth. On that note, I'm looking for which command could help me giving write right to the user.

Besides, there are many tty in my /dev. I'd like to make use of one RS-232 port for my application, how could I make sure which tty corresponds to which port?

Thanks in advance,

gilead 09-06-2006 03:44 AM

For your first question - as root, run chown -R user_name /home/user_name. That will make sure that everything in /home/user_name is owned by user_name.

Sorry I can't help with your second question, except to suggest that you try ttyS0

win2suse 09-06-2006 04:25 AM

Thanks a lot


All times are GMT -5. The time now is 04:19 PM.