Solved

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

Posted on 2001-06-14
6
234 Views
Last Modified: 2013-12-16
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

0
Comment
Question by:v_nagasrinivas
  • 3
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
jnbkze earned 50 total points
ID: 6194545
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
 

Author Comment

by:v_nagasrinivas
ID: 6194606
I tried like that...

chmod 700 mount.smbfs..

its giving the print...

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

..
why..
0
 
LVL 3

Expert Comment

by:jnbkze
ID: 6194610
Are you trying this as root?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:jnbkze
ID: 6194611
Are you trying this as root?
0
 

Author Comment

by:v_nagasrinivas
ID: 6204965
Yes

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

srinivas.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6711495
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question