Bandan Das 
		e4c1c64112 
		
	 
	
	
	usb-mtp: add sanity checks on rootdir ... 
			Currently, we don't check if rootdir exists and is accessible.
Furthermore, a trailing slash results in a null "desc" string which
ends up in the share not visible in the guest. Add some simple
sanity checks for appropriate permissions. Also, bail out if the
user does not supply an absolute path.
Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: jpga7bto3on.fsf@linux.bootlegged.copy 
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> 
		
	 
		2019-08-29 07:31:12 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:18:33 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:20 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:20 +02:00 
		 
	
		
			
			
			
			
			
			2018-06-01 19:20:38 +03:00 
		 
	
		
			
			
			
			
			
			2018-06-01 19:20:38 +03:00 
		 
	
		
			
			
			
			
			
			2016-02-23 12:43:05 +00:00 
		 
	
		
			
			
			
			
			
			2019-08-21 09:13:37 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-29 07:31:12 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-22 06:55:29 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:20 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-05-02 08:42:17 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-29 07:30:04 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:21 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:37:36 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:20 +02:00 
		 
	
		
			
			
			
			
			
			2013-02-19 12:30:05 +01:00 
		 
	
		
			
			
			
			
			
			2019-07-15 20:58:37 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-07-15 20:58:37 +02:00 
		 
	
		
			
			
			
			
			
			2013-01-08 10:56:58 +01:00 
		 
	
		
			
			
			
			
			
			2013-01-08 10:56:58 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:23 +00:00 
		 
	
		
			
			
			
			
			
			2019-06-12 13:20:21 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-21 10:42:00 +02:00 
		 
	
		
			
			
			
			
			
			2019-03-22 16:18:07 +00:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:52 +02:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:52 +02:00