Re: Please help me with samba or my brain will explode.

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

 



List the [homes] section of testparm.  You didn't answer my question about the missing
path = statement.

You logged in as kasak but the ownership of the created directory is nobody:nobody.  I
don't see how that could happen unless you're using a 'force user' and 'force group'.

While still connected with smbclient, in another terminal run 'smbstatus' to see what
userid is connected.

Bill

On 2/13/2018 12:41 AM, Илья Коскин wrote:
if that was that simple, I would not write to this list. 
I have already diff'ed the output of testparm -v and the only difference is "hostname". I don't think that hostname is the problem. Here is magic:
[kasak@kasakoff ~]$ smbclient \\\\kasakoff\\Shared
Enter SAMBA\kasak's password: 
Try "help" to get a list of possible commands.
smb: \> dir
  .                                   D        0  Tue Feb 13 08:33:45 2018
  ..                                  D        0  Tue Feb 13 08:33:45 2018

		663126024 blocks of size 1024. 595790936 blocks available
smb: \> mkdir foo
smb: \> dir
  .                                   D        0  Tue Feb 13 08:35:02 2018
  ..                                  D        0  Tue Feb 13 08:33:45 2018
  foo                                 D        0  Tue Feb 13 08:35:02 2018

		663126024 blocks of size 1024. 595790932 blocks available
smb: \> cd foo\
smb: \foo\> mkdir bar
NT_STATUS_ACCESS_DENIED making remote directory \foo\bar

And here is ls:
[kasak@kasakoff Shared]$ ls -al
итого 12
drwxr-xrwx  3 kasak  kasak  4096 фев 13 08:35 .
drwx-----x 22 kasak  kasak  4096 фев 13 08:33 ..
drwxr-xr-x  2 nobody nobody 4096 фев 13 08:35 foo

On another machine everything is the same, but it works!
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux