What is the correct syntax for chcon
The chcon command is giving me a invalid argument error using the syntax below.
I am using the variable ($USER_MAGIC_FOLDER_$) in the install anywhere project but I have tested it with the literal path to the lib fille and get the same error. I have also removed the first "/" in the syntax. What am I doing wrong? chcon -c -v -R -u system_u -r object_r -t lib_t /$USER_MAGIC_FOLDER_2$/lib/libxvtxmba570.so chcon -t texrel_shlib_t /$USER_MAGIC_FOLDER_2$/lib/libxvtxmba570.so |
Can you post the error that you are getting. It will help alot.
also that variable does not look correct. try echo $USER_MAGIC_FOLDER_2 and see what you get. I dont think there should be a $ at the end. |
All times are GMT -5. The time now is 10:56 AM. |