LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-01-2012, 02:00 AM   #1
tsh3po
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Rep: Reputation: 0
touch: Permission denied on /usr/tmp


Hi Guys

Can someone advise on this...

I have a box running RedHat 5.5 x64 (2.6.32-100.23.1.el5) and for some reason certain users are not able to write to /usr/tmp

Code:
 ls -ld tmp/
drwxrwxrwx 6 root oinstall 4096 Sep 29 21:50 tmp/
I have set the permissions to 777 and changed the group the directory belongs to

The only way I'm able to get around this is if I reboot the box, but a day or so later it does it again. My fear is that reboots are still possible on this one box, but on production it wonít even be an option

Iím guessing there is a process I can kill to refresh or something

Has anyone experienced this, and if so how did you get around it?

Thanks in advance
 
Old 10-01-2012, 02:26 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by tsh3po View Post
Hi Guys

Can someone advise on this...

I have a box running RedHat 5.5 x64 (2.6.32-100.23.1.el5) and for some reason certain users are not able to write to /usr/tmp

Code:
 ls -ld tmp/
drwxrwxrwx 6 root oinstall 4096 Sep 29 21:50 tmp/
I have set the permissions to 777 and changed the group the directory belongs to

The only way I'm able to get around this is if I reboot the box, but a day or so later it does it again. My fear is that reboots are still possible on this one box, but on production it wonít even be an option

Iím guessing there is a process I can kill to refresh or something

Has anyone experienced this, and if so how did you get around it?

Thanks in advance
Hi,

Try setting the sticky bit on /usr/tmp, e.g.:
Code:
# chmod 1777 /usr/tmp
#
# ls -ld /usr/tmp
drwxrwxrwt  5 root root 4096 Jan 11  2012 /usr/tmp
#
 
Old 10-02-2012, 02:15 AM   #3
tsh3po
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Original Poster
Rep: Reputation: 0
Hi guys

Problem solved, turns out the problem was with 2 oracle instances pointing to the same utl directory

thanks all
 
  


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
sh: /usr/bin/clamscan: Permission denied M.Mustafayev Linux - Server 1 11-26-2011 06:54 AM
[SOLVED] group permissions: touch: cannot touch `filename': Permission denied bartonski Linux - General 2 11-27-2008 10:23 AM
touch: cannot touch `/var/log/mysqld.log': Permission denied massoo Linux - General 1 08-01-2006 02:56 AM
permission denied writing to /tmp rsteelman Linux - General 7 02-06-2005 08:10 PM
knoppix: permission denied in usr on old / Hcman Linux - General 4 02-06-2004 02:34 AM


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