Hi,
I've installed the storage manager app and mapped some shared drives succesfully, but when i copy a file to the shared drive the permissions are set to 0644.
How can i set this to default 0774 or something like this.
here a snapshot of /etc/clearos/storage.d/flexshare_default.conf where permissions is set to 0755
I've installed the storage manager app and mapped some shared drives succesfully, but when i copy a file to the shared drive the permissions are set to 0644.
How can i set this to default 0774 or something like this.
here a snapshot of /etc/clearos/storage.d/flexshare_default.conf where permissions is set to 0755
///////////////////////////////////////////////////////////////////////////////
// D E F A U L T
///////////////////////////////////////////////////////////////////////////////
$storage['/var/flexshare/shares']['base'] = $base;
$storage['/var/flexshare/shares']['directory'] = 'flexshare/shares';
$storage['/var/flexshare/shares']['permissions'] = '0755';
$storage['/var/flexshare/shares']['owner'] = 'root';
$storage['/var/flexshare/shares']['group'] = 'root';
// vim: syntax=php
Share this post:
Responses (3)
-
Accepted Answer
Nick Howitt wrote:
.... Flexshare permissions are set through the webconfig in /etc/samba/flexshare.conf with the create mask. This means the execute bit is always stripped. Unfortunately if you change anything here, any time you make changes in the webconfig flexshare interface you will lose your changes.
grr, i want the execute bit set... can this be changed in a future update of webconfig? -
Accepted Answer
Nick Howitt wrote:
Hi Patrick, I think the storage manager permissions are for the folder. Flexshare permissions are set through the webconfig in /etc/samba/flexshare.conf with the create mask. This means the execute bit is always stripped. Unfortunately if you change anything here, any time you make changes in the webconfig flexshare interface you will lose your changes.
Hi Nick,
Stupid of me. This should i know by my self. Too long nothing doen with Samba and expected that i not need to look there since it was set properly.
obviously an update has broken the permissions.
Should be a nice feature in the webconfig
Thanks for the help -
Accepted Answer
Hi Patrick, I think the storage manager permissions are for the folder. Flexshare permissions are set through the webconfig in /etc/samba/flexshare.conf with the create mask. This means the execute bit is always stripped. Unfortunately if you change anything here, any time you make changes in the webconfig flexshare interface you will lose your changes.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »