Solved

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

Posted on 2001-06-14
6
230 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now