Re: Samba - why isn't "force user" working as I expect?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 24, 2008 at 12:40:50PM +0000, Chris G wrote:
> At the end of my smb.conf file I have:-
> 
>     [Scans]
>             comment = Digikam scans for chrisx
>             path = /home/chrisx/pictures/Scans
>             writeable = yes
>             force user = chrisx
> 
>     [xpIsbd]
>             comment = ISBD on XP
>             path = /home/isbd/xpIsbd
>             writeable = yes
>             force user = isbd
> 
> I thought this would mean that when I connect to these shares from my
> XP machine (on which I am user chris) any files and/or directories I
> create there would be created as users chrisx and isbd respectively.
> 
> However it's not working, I can connect to the shares without any
> problem but files/directories are always created with owner chris.
> 
> What am I doing wrong?
> 
> (This is samba 3.0.28a on Fedora 8)
> 

I have just realised what I was doing wrong!

I was accessing the shares as \\home\chrisx/pictures/Scans from my XP
machine and that (of course!) was accessing them via the default
[homes] share in smb.conf.

If I access the shares as \\home\xpIsbd and \\home\Scans then
everything works as expected.


Grrrrrr!!! It's taken me hours to realise this!

-- 
Chris Green

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux