LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-05-2008, 02:19 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Unable to delete the mounted files?


I have mounted a shared storage partition to my machine.When I am trying to delete the file its says readonly.
I too tried to change the ownership but its failing?
Pls Help
 
Old 09-05-2008, 02:26 AM   #2
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Are you sure you have read/write permissions on the shared device?

What is the shared "partition" on? another computer? a nas? some other device

How have you mounted it? nfs, samba, sshfs?

Please give us some more info. We can't see into your mind or computer

 
Old 09-05-2008, 02:40 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Sorry for incomplete info..

Its MSA 1500 Storage Machine shared partition /dev/sda
I have mounted my local machine /home/xxx to that..
I have mounted it through simple mount command
I have a user called fsdim as the ownership for the same
 
Old 09-05-2008, 02:49 AM   #4
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
Well, your_shadow03.

Seems like you don't have enough authorisation to delete files on the mounted partition.

You might want to use the following command when mounting:

mount //<ip address>/<share name> /media/Network -o user=administrator,rw,uid=<your user id>

For example:
mount //192.168.0.10/shared /media/Network -o user=administrator,rw,uid=500

-- The user id is your local user ID on the system, you can find out by issuing command "id" on bash or terminal

The above command will prompt for a password, put it in and you should be smooth sailing after that.

This is assuming that you are trying to mount from Windows operating system (CIFS), otherwise we'd have a different method ^^
 
  


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
Unable to delete the lines in xml FILES ragavendran31 Linux - Newbie 1 01-19-2008 02:24 PM
Unable to delete files from Windows dareino Fedora 2 03-19-2006 12:49 PM
Unable to delete files of MySQL laguna01 Red Hat 7 10-21-2005 05:51 AM
Unable to delete files via php on Linux burnham Linux - Newbie 6 05-26-2005 09:56 AM
unable to see the files from my cdrom after mounted for a while... sirpelidor Linux - Newbie 8 11-23-2003 12:33 AM


All times are GMT -5. The time now is 03:00 PM.

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