mandriva

Ticket #161 (new enhancement)

Opened 3 years ago

Last modified 5 months ago

shares created by MMC - missing feature

Reported by: rzavila@… Owned by: cdelfosse@…
Priority: normal Milestone: To be done
Component: mmc-web-samba Version: 2.2.0
Severity: normal Keywords:
Cc:

Description

In the page

hxxp://127.0.0.1/mmc/main.php?module=samba&submod=shares&action=add there is no option that allow me to set the create mask so I assume that samba is using the default which is 0744

in a Share where users have the same hierarchy and want to have full access to all content that maybe a problem

that can be solved editing by hand the smb.conf file and adding a "create mask" line in the end of the share description

like

[sambatest2] comment = Share created for tests writeable = yes admin users = "+Domain Admins", public = no path = /home/samba/sambateste2 create mask = 0777

but it would be realy great if we could set that, in the shares administration page, in the Mandriva Management Console

I work for a Local State Governament Institution in Brazil In my experience we usualy create a group with where the users have the same hierachy in the organization so they need to have the right to change each others files, of course that is probaly a very particular issue to each organization but at least in my institution I usualy need a "0770" or "0775" mask but it would be realy cool if I

can have some options like Permission for users : navigate () read () write () exe ()

Permission for group : navigate () read () write () exe () Permission for other : navigate () read () write () exe ()

so I could set according to the departments needs

Attachments

Change History

Changed 3 years ago by manuel.zach-oss@…

Yes it would be great if we could set the permissions with more details in MDS.

We have a similar use case, I solved it without "create mask", try this:

1. Put following lines into the global-section of smb.conf:

inherit permissions = Yes
map acl inherit = Yes

2. Set the desired ACLs with MMC or more granular with setfacl on the share directory.

e.g.
# setfacl -R -m g:group1:rwx /home/shares/share1

Now, if someone creates a new file, the file inherits the ACLs from the parent directory.

I hope this helps you,

cheers,
Manuel Zach

Changed 2 years ago by cdelfosse

  • milestone set to 2.4.0

Changed 5 months ago by cdelfosse

  • milestone changed from 2.4.0 to To be done

Add/Change #161 (shares created by MMC - missing feature)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.