- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file and directory permissions with samba 4.5 (CIF...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2018 03:03 AM - edited 01-22-2018 02:49 AM
01-19-2018 03:03 AM - edited 01-22-2018 02:49 AM
file and directory permissions with samba 4.5 (CIFS 4.05.11 installed)
Hi all
I installed CIFS Server Version 4.05.11 on hpux 11.31 in order to connect from am WIN 10 Version 1709, what was not working with samab 3.2.X
Now a lot of configuration parameters are unknown like "force directory mode ",..
How can i specity file and directory permissions now differing from defaut samba (create mask = 744 and directory mask = 755, am i right?) and default UNIX (666 and 777)
I need files 774 and dirs 775
When i specify this in smb.conf using only create mask and directory mask the resultion unix files are
764 (!) and directorys are 775 (= is OK)
what is wrong? Win User is using default permissions (no special umask set on HPUX)
(smb.conf: unix extentions = no)
When i change settings in smb.conf the results are not always the same.
I always disconnect and reconnect the windows share.
Are the permissions informations cashed anywhere?
thanks for help - answer on monday is early enough
regards Romy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 10:11 PM
03-06-2018 10:11 PM
Re: file and directory permissions with samba 4.5 (CIFS 4.05.11 installed)
Hello Romy_LWN,
Greetings !!!
Thank you for choosing HPE Services. First let me apologize for the delay in our reply.
The latest HPE CIFS Server B.04.05.15.00 - https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
The link to latest CIFS admin guide - https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03701890
The link to latest CIFS release notes - https://internal.support.hpe.com/hpsc/doc/public/display?sp4ts.oid=4248628&docLocale=en_US&docId=emr_na-a00020382en_us
Info on force directory mode
This parameter specifies a set of UNIX mode bit permissions that will always be set on a directory created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a directory that is being created. The default for this parameter is (in octal) 0000 which will not add any extra permission bits to a created directory. This operation is done after the mode mask in the parameter directory mask is applied.
The following link has more info on smb.conf file (you can also use # man smb.conf) - https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
setting up shares using windows ACL - https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
setting up shares using Posix ACL - https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs
Hope this help.