d32a
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
This is my first post here and I think it's great that the freebsd project now got it's own forum. I got a strange problem with samba and the default chmod only with one specific share. my sbm.conf Quote:
And I really don't know why, because on all other shares the permission is correctly set to 0770 as defined in my smb.conf. I also checked the logs but I can't find any problems. Does anybody know where this problem may come from? Thanks for your help. |
|
#2
|
||||
|
||||
|
It should probably be:
Quote:
__________________
...then the God created man... |
|
#3
|
|||
|
|||
|
I'm not sure, but I've never seen these modes in the global section.
According to smb.conf they had to be defiened in each share section again. mousaka
__________________
I thought of that while riding my bicycle. --- Albert Einstein |
|
#4
|
|||
|
|||
|
Hi
Thanks for your fast answer. I'm sure it's correct to set create mode and directory mode in the global section to set the default. @bsddaemon You're right, but this won't fix my problem. I now also tried to add "create mode" and "directory mode" in the share section. Quote:
![]() When I create a new directory, it's permission are still set to 0700. And still the same problem when I create a new file. I also tried "force create mode", same effect. ... |
|
#5
|
||||
|
||||
|
My guess would be your server local umask overrides samba settings
- Can you change the settings to: Quote:
Quote:
__________________
...then the God created man... |
|
#6
|
|||
|
|||
|
Hi
I fixed the problem. Because I had these problems only with two shares/directories, I recreated them directly on the console. Now the file permissions are set correctly. Thanks for your help. psunix |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Samba PDC with LDAP backend | Sylhouette | Howtos & FAQs (Moderated) | 36 | October 16th, 2012 21:02 |
| nmap can't detect the appropriate interface for the default route | kantor | Networking | 9 | March 25th, 2011 11:58 |
| default local fonts | Slesarev | GNOME | 18 | December 12th, 2008 23:40 |
| FreeBSD boot loader changes default | phreud | General | 7 | November 21st, 2008 00:02 |