ClearFoundation Tracker - ClearOS
View Issue Details
0001732ClearOSapp-flexshare - Flexsharespublic2014-06-02 10:542020-03-26 10:14
user2 
NickH 
normalfeaturealways
closedfixed 
7.0.0 Alpha 2 
 
0001732: Allow users to reset permissions
Traditional flexshares can have problems when administrators copy in data to a flexshare with external protocols such as SSH. Additionally, some workstations do not respect the permission structure and override the group permissions making files in accessible to users.

Add a button to reset permissions on a flexshare. This will effectively perform the following two commands where **flexshare** is the flexshare name, and **groupowner** is the group specified in the UI:

chgrp -R **groupowner** /var/flexshare/shares/**flexshare**
chmod -R g+rw /var/flexshare/shares/**flexshare**

A warning can be given to remind the user that this will override any other group permissions in the folder structure.
No tags attached.
related to 0001731closed NickH Allow users to request setGID bit. 
Issue History
2014-06-02 10:54user2New Issue
2014-06-02 10:54user2Issue generated from: 0001731
2014-06-02 10:54user2Relationship addedrelated to 0001731
2014-06-02 11:06user2Note Added: 0001198
2014-06-02 11:06user2Statusnew => confirmed
2020-03-26 10:14NickHNote Added: 0013541
2020-03-26 10:14NickHStatusconfirmed => closed
2020-03-26 10:14NickHAssigned To => NickH
2020-03-26 10:14NickHResolutionopen => fixed

Notes
(0001198)
user2   
2014-06-02 11:06   
The Community Edition has a daily cronjob to fix bad permissions - it runs the following script: /usr/clearos/apps/flexshare/deploy/set-file-permissions

This feature is disabled in the Professional Edition since it can be an unwanted outcome in a business/enterprise environment. We can certainly make it a configuration option with the added ability of running it via webconfig.
(0013541)
NickH   
2020-03-26 10:14   
Migrated to https://gitlab.com/clearos/clearfoundation/app-flexshare/-/issues/16 [^]