ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/FileUtils.ybc

YaST bytecode 1.4.0	FileUtils
FileUtils.ycpSCRPopupStringtmpfiles	Exists	IsDirectory	IsFile	IsBlock		IsFifo	
IsLink	IsSocket	IsCharacterDevice	
GetFileRealType		GetFileType		GetSize	GetOwnerUserID	GetOwnerGroupID	CheckAndCreatePath	MD5sum		Chown		Chmod		MkTempInternal				
MkTempFile				MkTempDirectory				CleanupTemp!target	6target	Itarget	\target			jtarget	

wtarget	target	target	

target	target	target	target	target		pathvalue	_target		usergroup	file		recursivemodes	file		recursivetemplate		usergroup	modes	template		usergroup	modes	3SCRReadExecute0base3SCRReadExecute3PopupContinueCancel	YesNo	3StringQuote		$	%!info$"	SCR::Read.target.stat($
4$-%-'%6infodefaultv$7	SCR::Read.target.stat$8
-:isdir%Iinfodefaultv$J	SCR::Read.target.stat$K
-Misreg%\infodefaultv$]	SCR::Read.target.stat$^
-`isblock%j	infodefaultv$k	SCR::Read.target.stat$l
-nisfifo%w
infodefaultv$x	SCR::Read
.target.lstat$y
-{islink%infodefaultv$	SCR::Read.target.stat$
-issock%infodefaultv$	SCR::Read.target.stat$
-ischr%
info$	SCR::Read
.target.lstat(islink4-link(isdir4-	directory(isreg4-regular(isblock4-block(isfifo4-fifo(issock4-socket(ischr4-
chr_device4-%info$	SCR::Read.target.stat(isdir4-	directory(isreg4-regular(isblock4-block(isfifo4-fifo(issock4-socket(islink4-link(ischr4-
chr_device4-%-	SCR::Read.target.size%info$	SCR::Read.target.stat-uid%info$	SCR::Read.target.stat-gid%
check_path	$(&&		regexpmatch		/$/&					regexpsub				^(.*)/$\1,	
y2milestone	
Checking existency of %1 path(4, 	
y2milestone	
Path %1 exists("4"-#4%,&	
	y2warning	
Path %1 is not a directory-(		
sformat		
VAlthough the path %1 exists, it is not a directory.
Continue or cancel the operation?
base42,3	
y2milestone	
Path %1 does not exist(4		
sformat		
+The path %1 does not exist.
Create it now?
base4;(=SCR::Execute
.target.mkdir4=,>	
y2milestone	
!Directory %1 successfully created-?4A,B	
	y2warning	
Failed to create directory %1-D		
sformat		
MFailed to create the directory %1.
Continue or cancel the current operation?
base4N,O	
	y2warning	
,User doesn't want to create the directory %1-P%_cmd	cmd_outfilemd5	(`!4`,a	
y2error	
File %1 doesn't exist-b(e!4e,f	
y2error	

Not a file %1-g$j		
sformat		
md5sum '%1'$kSCR::Execute.target.bash_output(mexit4m,n	
y2error	
Command >%1< returned %2-o$r	stdout(s		regexpmatch		[^ 	]+[ 	]+.*$4s&u					regexpsub				^([^ 	]+)[ 	]+.*$\14v,w	
	y2warning	
Strange md5out: '%1'-x-{%cmd	retval,	
y2milestone	
"Setting ownership of file %1 to %2$		
sformat		
chown %1 %2 %3-R$SCR::Execute.target.bash(,	
y2error	
Cannot chown %1-%cmd	retval,	
y2milestone	
&Setting access rights of file %1 to %2$		
sformat		
chmod %1 %2 %3-R$SCR::Execute.target.bash(,	
y2error	
Cannot chmod %1-%template		usergroup	modes		directorymktemp	cmd_outtmpfile	$		
sformat		
/bin/mktemp %1 %2-d$SCR::Execute.target.bash_output(exit4,	
y2error	
!Error creating temporary file: %1-$			splitstring				stdout
	(||4,	
y2error	
0Error creating temporary file: %1 - empty output-(||!!4-&			add-%-%-%,		foreachone_file	,	
y2milestone	
Removing %1,SCR::Execute.target.bash		
sformat		
/bin/rm -rf '%1'

ACC SHELL 2018