Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-01-2005, 06:14 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 21

Rep: Reputation: 15
Cannot Write/Edit files on hd..

I just installed knoppix install, and, even after settinf the group to user, making sure the "Read Only" box was un checked and allowing and setting it so that everything could read write (advanced settings, all the boxes are checked) its still telling me that i cant make a new folder, or edit a file...

any ideas (By the way, please try to keep it sorta simple lol, im not too farmilar with linux)
Old 07-02-2005, 12:13 AM   #2
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
First of all where are you trying to create files and folders? You should, as a user be able to create files and folders in your home directory (/home/<yourusername>).

The bulk of the filesystem in Linux has very restrictive permissions (this is a reason why it is tough to write bugs for Linux). The user "root" has access to write anywhere in the filesystem, and therefore should only be used when needed for administrative purposes.
Old 07-02-2005, 01:10 AM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 86
Just to add a little to the above comment, by design most of the directories are not writable by the regular user account, and their permissions should not be changed. Ordinarily, the files that you'd be editing would belong to your regular user, and live in your /home directory. That being said, there are certain system files that you may want to occasionally edit (such as lilo.conf, fstab, or perhaps xorg.conf or XF86Config) and if so, you should become root to manually edit them, rather than to modify the permissions of the directory that contains those files. Similarly, if you are attempting to create a new directory under the / directory (eg, perhaps a backup directory that you will mount a separate partition to) you will need to become root in order to be able to run the mkdir command

As a general comment, learning how file permissions work in Linux takes some time to become familiar with, and my recommendation would be refrain from making any security changes without fully understanding what the impact will be. Good luck with it -- J.W.
Old 07-03-2005, 06:08 PM   #4
LQ Newbie
Registered: Mar 2005
Posts: 21

Original Poster
Rep: Reputation: 15
i cant change to root... i try "run as different user" but i still cant access anything,
But im running fedora core 3 now, and it works.... so thats that.


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
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
vi to edit files?? Andknig Linux - Newbie 2 04-22-2005 04:18 AM
cannot edit file as root with write permissions set? Mishley Red Hat 4 08-05-2004 12:23 PM
Edit files help flira Linux - Newbie 2 05-27-2004 09:31 PM
Windows HD, can't write/edit as user hamsterdude Linux - General 14 07-07-2002 06:54 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:25 PM.

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
Open Source Consulting | Domain Registration