Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-06-2006, 04:39 AM   #1
Registered: Jul 2006
Posts: 84

Rep: Reputation: 15
Question 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,
Old 09-06-2006, 04:44 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
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
Old 09-06-2006, 05:25 AM   #3
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15

Thanks a lot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 10:59 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 09:51 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
Why does kppp.desktop require root userid for non-root user? Linux - Networking 4 08-27-2001 10:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration