LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-10-2005, 04:43 PM   #1
goldenratiophi
Member
 
Registered: Dec 2004
Posts: 34

Rep: Reputation: 15
Permissions problems?


Hello, I recently set up Gentoo with FluxBox. Now, since the day I could comprehend human tongue mummy and daddy always warned about using Linux as root. Trying to heed their advice, I set up a user account. This said user account belongs to the following groups:

wheel,floppy,console,audio,cdrom,ftp,sshd,video,games,mysql,cdrw,apache,usb,users,
portage

However, my user experience has been a bit limited. For example, I can't make/modify any files anywhere, even in my /home/[user] directory. Most programs won't run unless I "su" first, even basic things like firefox&. Even under su, things tend to run very slowly. I have a 2 GHz AMD processor and 1G RAM, so I'm quite at a loss as to what the problem is. Can anyone help?

Specs:
Gentoo 2004.3
2GHZ AMD processor
1G DDR RAM
128MB nVidia Geforce 4 MX 440 (with the drivers installed and running properly)
WM==Fluxbox
ext3 filesystem for /dev/hda3 (hard drive)

I don't quite know what information will help here, so if you need anything else, please tell me what it is.

(Sorry, if I sound inexperienced. I'm a casual Linux user who when confronted with problems easily gets lost).

Last edited by goldenratiophi; 01-10-2005 at 04:44 PM.
 
Old 01-10-2005, 05:01 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Wow, that's really messed up...

Can you start with output of:
Code:
$ ls -l /home | grep <username> # ...and
$ ls -l /home/<username>
 
Old 01-10-2005, 05:13 PM   #3
goldenratiophi
Member
 
Registered: Dec 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bulliver
Wow, that's really messed up...

Can you start with output of:
Code:
$ ls -l /home | grep <username> # ...and
$ ls -l /home/<username>
Code:
ls -l /home | grep miguel # :
drwxr-xr-x   2 carlos users 4096 Jan   9 18:19 miguel 

//carlos and miguel are users, miguel is what I'm logged in as.

ls -l /home/miguel:

total 0
 
Old 01-10-2005, 05:22 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well there's your problem...miguel's home directory is owned by carlos....
try "chown -R miguel /home/miguel"
also, 755 permissions on a home directory is no good...anyone can go in there and read your files! Try "chmod 700 /home/miguel"
 
Old 01-10-2005, 05:30 PM   #5
goldenratiophi
Member
 
Registered: Dec 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bulliver
Well there's your problem...miguel's home directory is owned by carlos....
try "chown -R miguel /home/miguel"
also, 755 permissions on a home directory is no good...anyone can go in there and read your files! Try "chmod 700 /home/miguel"
Thanks a lot! Everything seems to be in working order now!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions problems nicknamefij Mandriva 7 10-07-2004 04:02 AM
Problems with permissions tca23 Linux - Software 23 07-05-2004 07:50 PM
permissions problems Nic-MDKman Mandriva 0 02-14-2004 08:33 AM
permissions problems Mistshadow Linux - General 7 02-09-2004 05:16 AM
Permissions Problems... Mega Man X Linux - General 3 05-06-2003 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:16 AM.

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