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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-13-2009, 03:38 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Location: The netherlands
Distribution: Ubuntu
Posts: 2
Rep:
|
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?
|
|
|
11-13-2009, 05:39 PM
|
#2
|
Senior Member
Registered: Jun 2008
Posts: 1,821
|
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 06:22 PM.
|
|
|
11-13-2009, 07:22 PM
|
#3
|
Member
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862
Rep:
|
Try mounting using fusermount. After umounting first, of course.
|
|
|
11-13-2009, 09:19 PM
|
#4
|
Member
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335
Rep:
|
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
|
|
|
11-13-2009, 09:35 PM
|
#5
|
Member
Registered: Aug 2005
Location: Wellington NZ
Distribution: SuSE 11.2, Fedora 12
Posts: 49
Rep:
|
trefin56
You have your Win share set to "allow network users to change files" at the Win machine? Something I usually forget !!
IG
|
|
|
11-22-2009, 08:36 AM
|
#6
|
LQ Newbie
Registered: Nov 2009
Location: The netherlands
Distribution: Ubuntu
Posts: 2
Original Poster
Rep:
|
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
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 03:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|