LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot write mounted vista file system (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-write-mounted-vista-file-system-768981/)

trefin56 11-13-2009 03:38 PM

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?

thorkelljarl 11-13-2009 05:39 PM

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.

SharpyWarpy 11-13-2009 07:22 PM

Try mounting using fusermount. After umounting first, of course.

wabbalee 11-13-2009 09:19 PM

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

soleil24 11-13-2009 09:35 PM

trefin56

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

IG

trefin56 11-22-2009 08:36 AM

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 (Post 3756410)
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


All times are GMT -5. The time now is 02:42 PM.