LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Neurocrashing Permissionsss (https://www.linuxquestions.org/questions/linux-newbie-8/neurocrashing-permissionsss-397796/)

uruk 12-30-2005 01:22 AM

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

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

uruk 12-30-2005 12:09 PM

:cry: :cry:

zWaR 12-30-2005 03:02 PM

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.

Ellops 12-30-2005 07:07 PM

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

uruk 12-30-2005 07:20 PM

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

uruk 12-30-2005 09:39 PM

:eek: :study: :scratch: :D

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

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


All times are GMT -5. The time now is 04:30 PM.