LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-09-2004, 06:06 PM   #1
klebs89
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
cannot write to hardisk (extreme noob question)


Im new to linux and have an extremely noobish question, which i cannot find an answer too. Whenever i try to modify any of the hard drives contents (save, download, etc.) I cant do it. I believ its because I am not the owner. How do i change that (I know the root Password and everything , its my machine) Sorry for my extreme noobishness
 
Old 11-09-2004, 06:15 PM   #2
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
If you're trying to write to NTFS then no go

Otherwise, chown will change owner and chmod will change permissions.

But really if a you as a user doesn't have permission to write somewhere you shouldnt' be writing there.
 
Old 11-09-2004, 06:19 PM   #3
klebs89
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 5

Original Poster
Rep: Reputation: 0
the problem is im the only user. Due to my extreme ignoance, I probably meesed up first time user setup somewhere. And its not letting me create new folders no anything.
 
Old 11-09-2004, 06:44 PM   #4
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
You may be feeling the effects of a secure operating system. This is there for a reason so try not to destroy this principle. Only give yourself permissions to run what you need. If you need a directory to have total control of other than your /home/username dir then create one and change the permissions so you are the owner of this Dir. Only use the super user account when you need it. If a command needs to be run as root su - "command" it will then prompt you for a password and execute the command as root. If there are commands that you routinely need to run as root take a look at sudo. Many newbies find this difficult and then run everything as root. This is a bad idea. One reason this is a bad idea is it makes it extremely easy for you to delete your entire operating system. The second is you could be tricked into executing a command or script that compromises your system such as the latest fishing attempt. This irritates me because I then have to defend Linux as being a secure environment to all the doubters when in actuality it was just someones bad decision to run as superuser. Once you get used to it you will appreciate it. Good Luck.

man chown
 
Old 11-10-2004, 09:17 PM   #5
animehair
Member
 
Registered: Sep 2004
Location: NJ
Distribution: Gentoo
Posts: 104

Rep: Reputation: 15
i really like peacebwitchu 's answer to you, and I also feel that even though it could be frustrating at first and all your "windows" buddies will snicker at how "difficult" doing simple things are in linux....you truly are "feeling the effects of a secure operating system". Don't succumb to logging in using the root account as your default login account. Try to persevere with using a regular user account, and practice using the tools available such as using "su" to initiate running a command as root, or setting up proper file and directory permissions for your regular users.

good luck
 
Old 11-11-2004, 02:28 PM   #6
klebs89
LQ Newbie
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 5

Original Poster
Rep: Reputation: 0
i just figured out i have a home folder, so that clears everything up. I guess it is better that linux is secure.
 
  


Reply


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
extreme noob question jgibz Linux - Newbie 10 04-23-2004 02:08 AM
A few problems here as an extreme noob Raggit Linux - Newbie 4 03-07-2004 04:02 PM
Extreme Noob Here! Help saturdaysk8ter Linux - Newbie 2 11-26-2003 11:44 AM
Another Nvidia drivers question from another extreme noob Gosnell Linux - Newbie 3 11-07-2003 12:11 AM
EXTREME NOOB! can't see anything after red hat boots Taylon Linux - Hardware 9 08-12-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

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