Project

General

Profile

Support #25245

/annie app and data ownership and cleanup

Added by Arthur Kreymer 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Start date:
11/24/2020
Due date:
11/25/2020
% Done:

100%

Estimated time:
1.00 h
Spent time:
Duration: 2

History

#1 Updated by Arthur Kreymer 3 months ago

  • Estimated time set to 1.00 h
  • % Done changed from 0 to 10
  • Assignee set to Arthur Kreymer
  • Status changed from New to Assigned
  • Due date set to 11/25/2020

/annie/data and /annie/root have permssions 777
The users subdirectories similiary have permissions 775.
This allows anyone to write at the those levels.
This is not safe, and has led to stray files and directories.

#2 Updated by Arthur Kreymer 3 months ago

  • Status changed from Assigned to Work in progress

I have changed /annie/app and data permissions to 755.
I have changed the users directory permissions to 755.
I have changed ownership of /annie/*/users from ecatanom to anniepro

#3 Updated by Arthur Kreymer 3 months ago

  • % Done changed from 10 to 70

The following /annie/app/users areas have a mismatched name and owner.

drwxr-xr-x 2 9313 annie 2048 Jun 16 2016 agao/
drwxr-xr-x 2 9467 annie 2048 May 21 2015 mlong/
drwxrwxr-x 48 etiras annie 10240 Nov 4 04:09 mnieslon/
drwxr-xr-x 6 sdeng annie 2048 Apr 20 2018 MrdTrackLib/
drwxr-xr-x 2 9467 annie 2048 Jun 8 2016 pweather/

The following /annie/app/users files seem to be stray

rw-r--r- 1 nav annie 0 Nov 18 15:19 echo
drwxr-xr-x 3 moflaher annie 2048 Dec 1 2016 general/
rw-rw-r- 1 gardiner annie 1527478 Mar 21 2017 old_plots.tar.gz
rwxr-xr-x 1 egpott annie 144 Oct 30 17:38 TankPMTWindows_LED6.txt*
-rw-r--r-
1 pershint annie 1685 Mar 11 2020 TriggerDataPhII_orig.h

The following /annie/data/users areas have a mismatched name and owner.

drwxr-xr-x 2 9313 annie 2048 Jun 16 2016 agao/
drwxr-xr-x 2 nfsnobody nfsnobody 2048 Jun 22 2015 fkrennri/
drwxr-xr-x 2 9467 annie 2048 May 21 2015 mlong/
drwxrwxr-x 3 etiras annie 2048 Jul 30 2018 mnieslon/
drwxr-xr-x 2 9467 annie 2048 Jun 8 2016 pweather/

The following /annie/data/users files seem to be stray

-rwxrwxr-x 1 wetstein annie 65 Jun 23 2016 setup.sh*

#4 Updated by Arthur Kreymer 3 months ago

  • % Done changed from 70 to 100

I used root@if-admin-annie to correct user directory ownerships.

I removed the empty app/users/echo file.
I moved the stray app/users files into their owners directories

I removed the empty /annie/data/.Trash* directories
I moved the stray data/users file into its owners directory

#5 Updated by Arthur Kreymer 3 months ago

  • Status changed from Work in progress to Resolved

Also available in: Atom PDF