LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 01: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, 01: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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration