How can i delete the file with ?--------- file permissions..

Hi,
       while installing mountsmbfs, i forgot to copy
the mount.smbfs  and tried to mount the windows share..
it created a dummy file with file permissions
?--------- . And not allowing me to copy the correct
file to there or not able me removing it..

How can get rid of this problem..

Could any one help me out..

thanks,
srinivas.
http://www.nagasrinivasv.com

v_nagasrinivasAsked:
Who is Participating?
 
jnbkzeConnect With a Mentor Commented:
Root should be able to change the permissions!
But before root can delete the file he should have rw- to the file fist. so do the following below:

# chmod 600 my_dummy_file
# rm my_dummy_file
0
 
v_nagasrinivasAuthor Commented:
I tried like that...

chmod 700 mount.smbfs..

its giving the print...

chmod:mount.smbfs: Operation is not permitted..

..
why..
0
 
jnbkzeCommented:
Are you trying this as root?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
jnbkzeCommented:
Are you trying this as root?
0
 
v_nagasrinivasAuthor Commented:
Yes

     I am trying as root...only..
just now my e2fsck running some how deleted the file
along with some other files...

srinivas.
0
 
MoondancerCommented:
v_nagasrinivas-------->
You have asked 30 questions at this site, and only closed 12 of them.  I'm sure you'll agree this is not acceptable.  I will be updating all your open questions and following them for completion.  Please check the HELP DESK link on the left for site-related Guidelines and the Member Agreement.

Please update and finalize all your open questions as soon as possible, or we'll need to finalize them.  Administration has been advised.

Moondancer
Community Support Moderator @ Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.