HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SAMBA/LINUX
Operating System - Linux
1828961
Members
2294
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-10-2004 08:29 AM
03-10-2004 08:29 AM
I am running SAMBA on RedHat9. Using xfs filesystems so that we can control all permissions through the NT side. All works well.
I have set my samba config to 'force group' to ps_admin. This works ok. All files dragged and dropped are created as group 'ps_admin'. However, If I ftp a file to that share from a unix system, it retains the root:sys permissions, for example. Is there a way to configure samba to say, all files created to this share will be group 'ps_admin' no matter if it is ftp'd, copied or dragged and dropped.
I have set my samba config to 'force group' to ps_admin. This works ok. All files dragged and dropped are created as group 'ps_admin'. However, If I ftp a file to that share from a unix system, it retains the root:sys permissions, for example. Is there a way to configure samba to say, all files created to this share will be group 'ps_admin' no matter if it is ftp'd, copied or dragged and dropped.
UNIX IS GOOD
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 10:13 AM
03-10-2004 10:13 AM
Solution
As you are FTPing the file into the directory, Samba doesn't actually have any control over it.
What you want, simply is the group-sticky-bit on parent directory, i.e.:
drwxrwsr-x 1 root ps_admin 4096 Mar 11 12:04 /var/local/share
This forces anything that gets created beneath it to have the group 'ps_admin'.. Standard unix permissions.
To make the permissions like this, you can use either of the following commands:
chmod g+s /var/local/share
or
chmod 2775 /var/local/share
Have fun.
What you want, simply is the group-sticky-bit on parent directory, i.e.:
drwxrwsr-x 1 root ps_admin 4096 Mar 11 12:04 /var/local/share
This forces anything that gets created beneath it to have the group 'ps_admin'.. Standard unix permissions.
To make the permissions like this, you can use either of the following commands:
chmod g+s /var/local/share
or
chmod 2775 /var/local/share
Have fun.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP