LinuxQuestions.org
Help answer threads with 0 replies.
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 12-30-2005, 02:22 AM   #1
uruk
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware 10.2
Posts: 4

Rep: Reputation: 0
Neurocrashing Permissionsss


I wouldn't say I'm a newbie, but it seems that I havent made my homework...

Though that I have set r+w permissions for the user, in files and dirs Im interested, when I try to access them from user mode, the permission is denied...

Actually I cannot even log as a user since it doesnt give perms for the bash, although the perms are -r-xr-x---... In other cases files with 777 cann0t be accesed either...


What have done wrong?? (dont laugh..)
Perhaps I should do something with the groups??

I know, propably this qusetion is allready answered somewhere, but I checked only the first 10-15...

Could somebody help plz, cuz I really start to think returning to Amstrad 6128

PS: This happened when switched to 10.2. In previous instalations everything worked fine..

Last edited by uruk; 12-30-2005 at 02:26 AM.
 
Old 12-30-2005, 01:09 PM   #2
uruk
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware 10.2
Posts: 4

Original Poster
Rep: Reputation: 0
 
Old 12-30-2005, 04:02 PM   #3
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
i'll suggest reading this two man pages:
http://www.die.net/doc/linux/man/man1/chmod.1.html
http://www.die.net/doc/linux/man/man1/chown.1.html

And maybe these two too:
http://www.die.net/doc/linux/man/man8/useradd.8.html
http://www.die.net/doc/linux/man/man8/groupadd.8.html

Do you own your home folder and the files in it? If not change the owner with chown.
 
Old 12-30-2005, 08:07 PM   #4
Ellops
Member
 
Registered: Nov 2005
Location: ath.gr
Distribution: Slackware 11.0 / 2.6.19.1 /Linux Mint
Posts: 124

Rep: Reputation: 15
Also iu could check the 'man chmod' command or 'man' <whatever comand you wish>
(man for manual)

Last edited by Ellops; 12-30-2005 at 08:10 PM.
 
Old 12-30-2005, 08:20 PM   #5
uruk
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware 10.2
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, both for ur help but Ive allready read the man and many pages about this, with no result though.

I'll give an example:

Code:
 
root@kosmos:~# chmod ugo+rx /bin/bash

root@kosmos:~# su user1
Cannot execute /bin/bash: Permission denied

root@kosmos:~# ls -l /bin/bash
-r-xr-xr-x  1 root bin 666688 2005-09-10 22:46 /bin/bash*
in the place of ch*od ugo+rx, ive tried many similar formats, but nothing!

My creativity's start to running low...
 
Old 12-30-2005, 10:39 PM   #6
uruk
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware 10.2
Posts: 4

Original Poster
Rep: Reputation: 0


OK. I googled some and saw a thread somwhere in linqustions, of someone having exactly the same problem with me 3 years ago..

Phew... that one was tricky, I guess...
 
  


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




All times are GMT -5. The time now is 02:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration