ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001732ClearOSapp-flexshare - Flexsharespublic2014-06-02 10:542020-03-26 10:14
Reporteruser2 
Assigned ToNickH 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.0.0 Alpha 2 
Target VersionFixed in Version 
Summary0001732: Allow users to reset permissions
DescriptionTraditional 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.
TagsNo tags attached.
Attached Files

- Relationships
related to 0001731closedNickH Allow users to request setGID bit. 

-  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 (developer)
2020-03-26 10:14

Migrated to https://gitlab.com/clearos/clearfoundation/app-flexshare/-/issues/16 [^]

- Issue History
Date Modified Username Field Change
2014-06-02 10:54 user2 New Issue
2014-06-02 10:54 user2 Issue generated from: 0001731
2014-06-02 10:54 user2 Relationship added related to 0001731
2014-06-02 11:06 user2 Note Added: 0001198
2014-06-02 11:06 user2 Status new => confirmed
2020-03-26 10:14 NickH Note Added: 0013541
2020-03-26 10:14 NickH Status confirmed => closed
2020-03-26 10:14 NickH Assigned To => NickH
2020-03-26 10:14 NickH Resolution open => fixed