Solved

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

Posted on 2001-06-14
6
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setup Ubuntu 16.04 to use LDAP for user login and authentication 2 267
RPM creation 6 49
IMAP copying tool 14 76
Certificate Request CentOS/Apache 1 57
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

759 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