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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-06-2002, 08:39 AM
|
#1
|
Newbie
Registered: Oct 2002
Posts: 6
Rep:
|
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)
|
|
|
10-06-2002, 09:39 AM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Do you have /tmp on a separate partition?
|
|
|
10-06-2002, 10:08 AM
|
#3
|
Newbie
Registered: Oct 2002
Posts: 6
Original Poster
Rep:
|
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 10:09 AM.
|
|
|
10-06-2002, 11:19 AM
|
#4
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
Could you sen a result of
ls -l
in /tmp as root?
|
|
|
10-06-2002, 12:32 PM
|
#5
|
Newbie
Registered: Oct 2002
Posts: 6
Original Poster
Rep:
|
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 12:34 PM.
|
|
|
10-06-2002, 12:40 PM
|
#6
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|