Public bug reported:

Binary package hint: samba

Problem:
When either right-clicking in nautilus or using the Shared Folders application 
in the Administration menu, I cannot share a folder on an ntfs-mounted drive. 
When I attempt to, an error message pops up saying something like "cannot 
access file/folder". The folder is not shared, and I am given no indication as 
to how to resolve the problem.

To reproduce:
- Have an ntfs formatted drive in your system
- Have ubuntu auto-mount it with default partitions (it should appear on your 
desktop)
- Attempt to share a folder in this drive

My workaround:
After much digging into a solution, two problems became apparent with Ubuntu 
sharing: 1. Drives formatted as ntfs (possibly others) and mounted by Ubuntu 
(with default permissions - UID = 007 in my case) cannot be accessed by samba, 
and 2. Folders shared this way require a terminal command to be entered 
(smbpasswd) in order to allow the share to be accessed. I think 2. is being 
addressed in another bug, but 1. is still a problem for me and other users.

I eventually worked out that the permissions were wrong for samba to be
able to access the drive, and so changed the UID in my fstab to that of
my user account. While this worked like a dream, I have a feeling that
these drives would now be inaccessible if I created another user on my
machine.

ProblemType: Bug
Architecture: i386
Date: Tue Dec 11 19:18:42 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: fglrx
Package: nautilus 1:2.20.0-0ubuntu7
PackageArchitecture: i386
ProcCmdline: nautilus --no-default-window --sm-client-id default2
ProcCwd: /home/charlie
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux phoenix 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 
GNU/Linux

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
"Share Folder" in right-click menu does not share ntfs drive folders
https://bugs.launchpad.net/bugs/175689
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to