mandriva

Ticket #161 (new enhancement)

Opened 1 year ago

Last modified 10 months ago

shares created by MMC - missing feature

Reported by: rzavila@gmail.com Assigned to: cdelfosse@mandriva.com
Priority: normal Milestone: 2.4.0
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

02/22/08 10:56:10 changed by manuel.zach-oss@zach.st

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

03/13/08 09:23:52 changed by cdelfosse

  • milestone set to 2.4.0.

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




Change Properties
Action