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 10-06-2002, 09:39 AM   #1
kpfeiffer
Newbie
 
Registered: Oct 2002
Posts: 6

Rep: Reputation: 0
ls in /tmp produces "permission denied" even as root


sputnik:/tmp # ls
ls: xwlog: Permission denied
ls: YaST2.tdir: Permission denied
ls: .sigawhile: Permission denied
ls: ksocket-root: Permission denied
ls: xauth.XXXXCDdgn6: Permission denied
ls: kde-root: Permission denied
ls: MO3D01E58E0001481: Permission denied
ls: mcop-pfeiffer: Permission denied
ls: indexresult.2127.html: Permission denied
ls: soffice.tmp: Permission denied
ls: YaST2-04183: Permission denied
ls: YaST2-05967: Permission denied
ls: mcop-root: Permission denied
ls: pfeiffer-netscape: Permission denied

What do I do about this? The tmp file listed all seem to correspond to programs with which I have problems (Netscape doesn't start, for example, error message on login from mcop, etc.)

I searched the archives here as best I could, but didn't find (or didn't recognize) what I needed.

Thanks in advance (Anworten auf Deutsch sind auch okay)

Linux (Suse 8.0ish)

-K (happy to find this forum - already know vBulletin, too)
 
Old 10-06-2002, 10:39 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Do you have /tmp on a separate partition?
 
Old 10-06-2002, 11:08 AM   #3
kpfeiffer
Newbie
 
Registered: Oct 2002
Posts: 6

Original Poster
Rep: Reputation: 0
more info

Quote:
Originally posted by Mara
Do you have /tmp on a separate partition?
(Wish I could answer you.) :-)

KDiskFree lists:

/dev/hda6 reiserfs 3.3. GB 33% /
shmfs ? 60 MB 0% /dev/shm

-K

PS - And most files located in tmp list just fine.

Last edited by kpfeiffer; 10-06-2002 at 11:09 AM.
 
Old 10-06-2002, 12:19 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Could you sen a result of
ls -l
in /tmp as root?
 
Old 10-06-2002, 01:32 PM   #5
kpfeiffer
Newbie
 
Registered: Oct 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Hallo Mara,

Here is the beginning of ls -l :

sputnik:/tmp # ls -l
ls: xwlog: Permission denied
ls: YaST2.tdir: Permission denied
ls: .sigawhile: Permission denied
ls: ksocket-root: Permission denied
ls: xauth.XXXXCDdgn6: Permission denied
ls: kde-root: Permission denied
ls: MO3D01E58E0001481: Permission denied
ls: mcop-pfeiffer: Permission denied
ls: indexresult.2127.html: Permission denied
ls: soffice.tmp: Permission denied
ls: YaST2-04183: Permission denied
ls: YaST2-05967: Permission denied
ls: mcop-root: Permission denied
ls: pfeiffer-netscape: Permission denied
total 121093
drwxrwxrwt 21 root root 2408 Oct 6 19:33 .
drwxr-xr-x 19 root root 560 Oct 1 02:10 ..
drwxrwxrwt 2 root root 280 Oct 6 14:17 .ICE-unix
-r--r--r-- 1 root root 11 Oct 6 14:16 .X0-lock
drwxrwxrwt 2 root root 96 Oct 6 14:16 .X11-unix
drwxr-xr-x 2 root root 48 May 24 09:54 .qt
-rw------- 1 pfeiffer users 89 Aug 14 23:35 0,2162,1012206,00.ram
-rw------- 1 pfeiffer users 89 Aug 14 23:32 0,2162,1014498,00.ram
-rw------- 1 pfeiffer users 196 Jul 22 11:38 0260864147106588.rm
-rw------- 1 pfeiffer users 196 Jul 24 16:27 0433803922698742.rm

Last edited by kpfeiffer; 10-06-2002 at 01:34 PM.
 
Old 10-06-2002, 01:40 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
try this trick.
ls -ld /tmp
does it show
drwxrwxrwt root root ...........
?
cd /tmp
become root with su
chown -R root:root *
chmod -R 755 *
and see what happens.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Only root hears sounds, alsa gives "permission denied" Baix Linux - General 4 07-02-2005 02:30 PM
"permission denied when rcp-ing with root. ayeletr Linux - Security 7 11-24-2004 05:48 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 10:08 AM
Permission denied on " ls "for root user itsjvivek Linux - General 12 12-11-2002 08:02 PM


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