| 
						
					 | 
					
						
						
							
						
						82d2e439fe
					 | 
					
						
						
							
							Merge branch 'master' into rename_and_move
						
						
						
						
						
						
					 | 
					
						2017-06-28 00:03:04 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						be839ba2dd
					 | 
					
						
						
							
							Trying to fix bug with os.join, now has a two args, not list
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:58:40 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f884406c06
					 | 
					
						
						
							
							Missed a syntax errro
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:56:47 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						04066b8da4
					 | 
					
						
						
							
							Now the full path is sent to fix ownership, not just the file path
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:56:06 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						34ab8be097
					 | 
					
						
						
							
							Fix_ownership got a list of files, now it iterates through this list and sends each item to the function
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:53:52 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						31e16e2784
					 | 
					
						
						
							
							Now the for loop actually goes through dir not just the string of file name. *facepalm*
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:52:17 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7cda4accdb
					 | 
					
						
						
							
							Added print for debugging purposes
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:49:34 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7023b135b4
					 | 
					
						
						
							
							Now all subfiles also have their permission chagned.
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:48:25 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						979a95a468
					 | 
					
						
						
							
							Added a try except to remove and a todo to remind of need improvements.
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:37:55 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c1cd821d8a
					 | 
					
						
						
							
							Changed group id to the wanted value.
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:33:50 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4b54339b72
					 | 
					
						
						
							
							Opps, changed to use the int value of uid and gid, not looking up the int value and then converting to int. Does not make sense.
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:30:34 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8a53cc4765
					 | 
					
						
						
							
							Added todo for fix_ownership
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:25:19 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3bc539323a
					 | 
					
						
						
							
							Changed user and group id to the wanted value.
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:24:49 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						80746252c0
					 | 
					
						
						
							
							Added excepts to all move and delete, so it can be run mulitple times and see no downside to having it run and logging it if not found. Also think I fixed a bug that renamed the folder that would be deleted, not the new folder
						
						
						
						
						
						
					 | 
					
						2017-06-27 15:22:02 -06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						90384e4ebc
					 | 
					
						
						
							
							Calls fix_ownership after creating new directory
						
						
						
						
						
						
					 | 
					
						2017-06-13 05:17:40 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7f14f64762
					 | 
					
						
						
							
							Set gid and uid to static vars
						
						
						
						
						
						
					 | 
					
						2017-06-13 05:11:50 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a6d21ed181
					 | 
					
						
						
							
							Added fix_ownership for setting the new folder to user, not root.
						
						
						
						
						
						
					 | 
					
						2017-06-12 20:28:58 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Kevin Midboe
							
						 
					 | 
					
						
						
							
						
						8535bb4f19
					 | 
					
						
						
							
							Moved the queries dict to the object and not have it as a function. Prevents the list from being built every function call
						
						
						
						
						
						
					 | 
					
						2017-04-14 17:03:19 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Kevin Midboe
							
						 
					 | 
					
						
						
							
						
						4971433c18
					 | 
					
						
						
							
							Formatting issue
						
						
						
						
						
						
					 | 
					
						2017-04-13 13:22:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Kevin Midboe
							
						 
					 | 
					
						
						
							
						
						a31c0062f3
					 | 
					
						
						
							
							Script takes id as input at moves its content to veried place.
						
						
						
						
						
						
					 | 
					
						2017-04-13 12:34:16 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |