LinuxQuestions.org
Help answer threads with 0 replies.
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 08-08-2005, 11:19 AM   #1
saipraveen
Member
 
Registered: Jun 2005
Location: Hyderabad
Posts: 35

Rep: Reputation: 15
problem in creating files


Hello,
I am unable to create files in some folders like /net and /misc even though
I am root and the folder permissions have been set to 777. The disk also has a lot of space since df -h shows some 2.2 Gb free.
When i do "touch temp" , i get the error "Permission Denied"

Can anyone tell me how this error can be rectified?

Thank You.
 
Old 08-08-2005, 12:00 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Post the output of

mount
df -h
an ls -l that shows the troublesome directories (not their contents, *them*)
whoami (just checking--you'd be surprised how often I make trivial mistakes)
touch --version

---
I also urge you to read `Smart Questions' by ESR. Pay attention to the part about selecting a title--I think "touch <anything> - permission denied" would be more descriptive (i.e. better).

hth --Jonas
 
Old 08-08-2005, 01:57 PM   #3
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Hi,

I'm having the exact same problem with a Japanese customer that I am trying to remotely provide support for. The problem is showing up in the /usr/sbin directory for me (I am trying to install a new version of some software and want to rename the old version as a fallback contingency)

I'm root (have "ssh"ed into the remote system, so should be no problem with permissions), and the filesystem is definitely read/write.

If anyone has any idea what could be going on, please post. I don't know of any permissions that would block root from doing stuff...

Thanks!
 
Old 08-08-2005, 02:18 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Strangely enough I had the same type of predicament on my system when it was formated in Reiser. Ext3 however does not present the same problem.
 
  


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
C programming help... about creating files borgy_t Programming 2 02-08-2005 04:35 AM
problem creating BASH script with files that have whitespace scattaneo Linux - General 2 11-06-2004 05:40 PM
creating jar files linux_ub Programming 12 08-12-2004 04:34 PM
creating files on XP share ntloser Linux - Networking 2 10-06-2003 05:03 PM
creating files Tigger Linux - Newbie 7 05-30-2003 04:03 AM

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

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