Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This is the situation. There are 3 machines in the office. The Operating systems on them are respectively,

  1. Linux mint
  2. Ubuntu 12.04
  3. Windows Vista

The Ubuntu (#2) machine is supposed to be the common file server between the machines #1 and #3.

Machine #2 has two hard disks. One is a 500 GB NTFS empty drive and the other is a 160 GB ext4 drive. My plan is to make the 500 GB as the file sharing disk.

When I share a folder like ~/Documents using Nautilus context menu on machine #2, I can access the files easily on both #1 and #3, but when I try to share some folder on 500 GB disk, I get an error on machine #1 that says

Failed to mount windows share

I do not mind formatting the drive to ext4 if needed, but I am sure that something simple is wrong.

EDIT

I took @Marty's comment as a hint and used ntfs-config to configure automount of that partition. It is working now. Thanks

share|improve this question
    
How are you mounting the 500GB drive? In other words, are you mounting it in /etc/fstab, or relying on automatic mounting in /media? –  Marty Fried Jun 14 '12 at 4:50
    
The ubuntu machine is always on. I just mount it using Nautilus. Click on the side pane. –  shortfellow Jun 14 '12 at 4:57
2  
Hey. I just took your comment as a hint and used ntfs-config to configure automount of that partition. It is working now. Thanks. –  shortfellow Jun 14 '12 at 5:19
1  
Glad I was able to help you help yourself - that's the best way, IMO. :) –  Marty Fried Jun 14 '12 at 15:48
    
@shortfellow please add this an answer and mark it as the accepted answer if it solves your problem. Thanks! –  lazyPower Jan 20 at 19:32

2 Answers 2

What you want to do is add a "force user" line to that share definition so that the remote user appears to be you

[share-name]
comment =
path = /media/some-name
read only = No
force user = your-user-name
guest ok = yes

Try this.

share|improve this answer
up vote 0 down vote accepted

I ended up using ntfs-config. The automount feature on it solved my problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.