LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 11-13-2009, 04:38 PM   #1
trefin56
LQ Newbie
 
Registered: Nov 2009
Location: The netherlands
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Question Cannot write mounted vista file system


Good evening,

I have one linux ubuntu/kubuntu 9.04 PC (upstairs) connected over a netgear router to a windows vista PC (downstairs).
I am trying to mount the windows vista shared directory on the linux box.
I managed to do it: I can list the files, copy the files from the windows file system to the linux file system but cannot create or delete files on the windows shared drive.

To mount the windows shared drive, I added the following line in the /etc/fstab

//10.0.0.2/TVPC_Public /home/TV_PC_SHARED_DRIVE cifs username=TVPC/XXXX,password=YYYY,rw,uid=1000,gid=100

when I list the files they have my uid and gid and are declared rw, however moving, deleting or creating files block the command tool.

Any good idea out there?
 
Old 11-13-2009, 06:39 PM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
Maybe...

I assume that you are acting as root; would it help if you became the owner of the files according to linux, uid=0?

This is a guess. I am at the outer bounds of my understanding of permissions and ownership, so I'm not sure it's that good idea you requested.

Last edited by thorkelljarl; 11-13-2009 at 07:22 PM.
 
Old 11-13-2009, 08:22 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Try mounting using fusermount. After umounting first, of course.
 
Old 11-13-2009, 10:19 PM   #4
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
this may or may not be of much help but this is a line from my fstab file where i share my (local) windows drive with full read write access

Quote:
# /storage was on /dev/sda5 during installation
UUID=49C9-ACAC /storage vfat defaults,umask=000,uid=1000,gid=100,auto,rw,user 0 2
so if your line works then i would modify it as follows:
Quote:
//10.0.0.2/TVPC_Public /home/TV_PC_SHARED_DRIVE cifs username=TVPC/XXXX,password=YYYY,defaults,umask=000,uid=1000,gid=100,auto,rw,user 0 2
mind you i have no means of testing this but i know how frustrating permissions can be this way there is no security and everything should be readable writeable and deleteable.

hope you can do something with it
fellow landgenoot
 
Old 11-13-2009, 10:35 PM   #5
soleil24
Member
 
Registered: Aug 2005
Location: Wellington NZ
Distribution: SuSE 11.2, Fedora 12
Posts: 49

Rep: Reputation: 18
trefin56

You have your Win share set to "allow network users to change files" at the Win machine? Something I usually forget !!

IG
 
Old 11-22-2009, 09:36 AM   #6
trefin56
LQ Newbie
 
Registered: Nov 2009
Location: The netherlands
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Unlucky so far

Gents,


Sorry for coming back so late ...

I have:
- checked that my winshare was properly configured regarding permissions (soleil24 idea)
- tried to use uid=0 (thorkelljarl)
- tried to use wabbalee idea
without success.

I would like to try SharpyWarpy idea

Quote:
Originally Posted by SharpyWarpy View Post
Try mounting using fusermount. After umounting first, of course.
However, I cannot find any (simple) help on fusermount after a few goggling around.
Any idea where I could get some simple explanations?

Cheers
 
  


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
Getting short file names on mounted VFAT file system? manorina Linux - Software 1 09-03-2009 03:51 AM
core dump file won't write to nfs-mounted directory rainzone Linux - Networking 5 08-25-2009 05:30 PM
what happens before the file system is mounted? ltordsen Linux - Hardware 6 10-07-2006 07:34 PM
unable to write to mounted .img file decaf Linux - General 10 03-21-2005 06:15 PM
How do you write to a mounted iso file? jschiwal Mandriva 2 08-27-2003 03:33 PM


All times are GMT -5. The time now is 12:45 AM.

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