LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Permissions Problems... (https://www.linuxquestions.org/questions/linux-general-1/permissions-problems-58395/)

Mega Man X 05-06-2003 11:32 AM

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 :(

Crashed_Again 05-06-2003 11:42 AM

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.

wapcaplet 05-06-2003 11:47 AM

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.

Mega Man X 05-06-2003 12:33 PM

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 :)


All times are GMT -5. The time now is 06:31 AM.