On Monday 30,November,2009 03:24 PM, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> 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.
I have a feeling that at least one of the "UID" occurrences should actually be
umask, though I'm not sure. Could you look into it and correct as necessary? I'm
having some difficulty understanding exactly what you mean here.
On Monday 30,November,2009 03:24 PM, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> 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.
I have a feeling that at least one of the "UID" occurrences should actually be
umask, though I'm not sure. Could you look into it and correct as necessary? I'm
having some difficulty understanding exactly what you mean here.
--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer