LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-06-2003, 11:32 AM   #1
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Permissions Problems...


I've just upgraded to Mandrake 9.1 and, as all Linux upgrades, I'm passing through some hard times here .
I need help with a newbie thing though... I've created a root and it's password and an ordinary user as usual. The problem is, my ordinary user has no right to write any file ( create folder, compile, everything) I was wondering how do I add permissions to this user to be able to write normaly instead of need to log in as root each and everytime I need to write a file .

Any help would be great. Thanks

P.S: Ive search the forum for this, did not find anything
 
Old 05-06-2003, 11:42 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Re: Permissions Problems...

Quote:
Originally posted by Megaman X
The problem is, my ordinary user has no right to write any file ( create folder, compile, everything) I was wondering how do I add permissions to this user to be able to write normaly instead of need to log in as root each and everytime I need to write a file .
What do you mean by "write normaly"? Surely the user can create and modify files and directories with its own directory(etc. /home/user) If you want the user to have special permissions that only root has you should check out the 'sudo' command.
 
Old 05-06-2003, 11:47 AM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
As Crashed_Again says, normal users don't (by default in most distributions) have permission to write anything outside of /home/username, /tmp, and occasionally a couple other places. Users shouldn't be writing anywhere else most of the time, anyway.

If even these are off-limits to your user, make sure the user's home directory is owned by the user, and that the owner has read/write permission.
 
Old 05-06-2003, 12:33 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Thanks guys for the help. I could fix it using the Userfonfig. It was something really odd what happens. Sorry that I was not so clear above. But the problem is that my user did not have permission to write into his own folder (/home/user). Now things seems to be going fine... It was just a temporary panic here

thanks again
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions problems? goldenratiophi Linux - General 4 01-10-2005 05:30 PM
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

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

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration