LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 12:19 PM   #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, 01:00 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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, 02: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, 03:18 PM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

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


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


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